Odd Or Even?

Is this number odd or even ?

( 122333444455555666666555554444333221 ) 7 \large (122333444455555666666555554444333221)_7

Clarification: The 7 subscript indicates that we are working in base 7.


No calculators please! :)
Try more questions on Bases .
Odd Even

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Geoff Pilling
Apr 28, 2016

Relevant wiki: Number Base - Converting to Different Bases

Unlike base 10 numbers, for base 7, you need to count up the number of odd digits in the number. This is because each digit, a n a_n , represents a n 7 n a_n*7^n , and 7 n 7^n is odd for all n n . So, if there are an odd number of odd digits, the number is odd, otherwise, the number is even. In this number, there are 18 odd digits, so the number is e v e n \boxed{even} .

I solved it as well using a similar method! I knew since an odd x odd = odd, and even + odd = odd, that given the first number is a 1, that as the digits increase the parity of the number would alternate (then I proceeded to very sillily move my mouse to the first digit, then slowly move it down going "odd, even, odd, even, ..." because of it being so early in the morning and I didn't want to just add up the digits (knowing that every digit n here repeated n times), ahahaha!

Andrew Tawfeek - 5 years, 1 month ago

Prove that all you need to do is count the number of odd digits.

Alex G - 5 years, 1 month ago

Log in to reply

Good point. I have added to my explanation above.

Geoff Pilling - 5 years, 1 month ago

The number is symmetric so the answer is trivially true for every odd base

Esp Ter - 4 years, 7 months ago
Esp Ter
Oct 25, 2016

Since the number has even digits and is palindromic, after expanding, sum of value of the first and last digit is even, second and second last number is even and so on due to the same parity.

Good observation!

If by symmetric you mean palindromic, though, this doesn't work for all symmetric numbers. Only for symmetric numbers with an even number of digits, or an odd number of digits with an even number in the middle. For example 25 2 7 252_7 symmetric but odd.

Geoff Pilling - 4 years, 7 months ago

Log in to reply

Yes. I meant even number of digits. Thanks I'll add that clarification.

Esp Ter - 4 years, 7 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...