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!)
A059132 A hierarchical sequence (W2{2}c - see A059126). 3
4, 10, 4, 16, 4, 10, 4, 22, 4, 10, 4, 16, 4, 10, 4, 28, 4, 10, 4, 16, 4, 10, 4, 22, 4, 10, 4, 16, 4, 10, 4, 34, 4, 10, 4, 16, 4, 10, 4, 22, 4, 10, 4, 16, 4, 10, 4, 28, 4, 10, 4, 16, 4, 10, 4, 22, 4, 10, 4, 16, 4, 10, 4, 40, 4, 10, 4, 16, 4, 10, 4, 22, 4, 10, 4, 16, 4, 10, 4, 28, 4, 10, 4, 16 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
LINKS
Jonas Wallgren, Hierarchical sequences
FORMULA
a(n) = 4 + 6*A007814(n+1). a(2n) = 4, a(2n+1) = a(n) + 6. - Ralf Stephan, Oct 09 2003. Typo in the first formula corrected by Antti Karttunen, Nov 01 2018
a(n) = A059126(3*n) + A059126(3*n+1) + A059126(3*n+2). - Sean A. Irvine, Sep 12 2022
MATHEMATICA
Array[6 IntegerExponent[2 #, 2] - 2 &, 105] (* Michael De Vlieger, Nov 02 2018 *)
PROG
(PARI) A059132(n) = if(!(n%2), 4, 6+A059132((n-1)/2)); \\ Antti Karttunen, Nov 01 2018
CROSSREFS
Sequence in context: A291527 A010715 A151707 * A059136 A128505 A336988
KEYWORD
easy,nonn
AUTHOR
Jonas Wallgren, Jan 19 2001
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 March 28 05:39 EDT 2024. Contains 371235 sequences. (Running on oeis4.)