The 15 Function Problem

Here is a sequence:

{ F ( 1 ) = 1 F ( 2 n ) = F ( n ) F ( 2 n + 1 ) = F ( 2 n ) + 1 \large \begin{cases} F(1) = 1 \\ F(2n) = F(n) \\ F(2n+1) = F(2n)+1 \end{cases}

Which position in this sequence does the number 15 appear for the first time?


The answer is 32767.

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.

1 solution

X X
Apr 21, 2018

Express n in binary,F(n) is the digit sum of n.So the first time F(n) is 15,n=111111111111111(in binary),which equals 32767

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...