login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A090792 a(0)=1; for n>0, a(n)=a([n/2])+a([n/4])+a([n/8]). 0
1, 3, 5, 5, 9, 9, 9, 9, 17, 17, 17, 17, 17, 17, 17, 17, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 31, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 57, 105, 105, 105, 105, 105, 105 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
n>0 a(n) = A000213([log(n)/log(2)]+3)
PROG
(PARI) a(n)=if(n<1, 1, a(floor(n/2))+a(floor(n/4))+a(floor(n/8)))
CROSSREFS
Cf. A083662.
Sequence in context: A029639 A087349 A212631 * A076877 A332775 A120841
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 24 2004
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)