Bitter Numbers in the Bad Hall of Notoriety

Number Theory Level pending

The president of Sugar Land has created this iterative rule for generating sequences of whole numbers:

1) If a number is 25 25 or less, double that number.

2) If a number is greater than 25 25 , subtract 12 12 from it.

Let S S be the first number in a sequence created by the two rules above. S S is considered a "sweet" number if the sequence that starts with S S contains the number 16 16 . If not, then S S is considered a bitter number and banned from Sugar Land. Furthermore, if the bitter number is divisible by 5 5 , then it is placed in the Bad Numbers Hall of Notoriety in Bitter Nation. How many numbers from 1 1 to 1 , 000 1,000 are in the Bad Numbers Hall of Notoriety in Bitter Nation?


The answer is 66.

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.

0 solutions

No explanations have been posted yet. Check back later!

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...