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!)
A320008 a(0) = 1; for n > 0, a(n) = A000120(n) * a(n-A000120(n)), where A000120(n) is the binary weight of n. 3
1, 1, 1, 2, 2, 4, 4, 6, 6, 12, 12, 18, 24, 36, 54, 72, 72, 144, 144, 216, 288, 432, 648, 864, 1296, 1944, 2592, 3456, 5832, 7776, 10368, 12960, 12960, 25920, 25920, 38880, 51840, 77760, 116640, 155520, 233280, 349920, 466560, 622080, 1049760, 1399680, 1866240, 2332800, 3732480, 5598720, 6998400, 9331200, 16796160, 22394880, 27993600, 34992000 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Sequence is monotonic because A011371 is.
LINKS
FORMULA
a(0) = 1; for n > 0, a(n) = A000120(n) * a(n-A000120(n)).
MATHEMATICA
Nest[Append[#1, #2 #1[[-#2]] ] & @@ {#, Total@ IntegerDigits[Length@ #, 2]} &, {1}, 55] (* Michael De Vlieger, Nov 25 2018 *)
PROG
(PARI) A320008(n) = if(0==n, 1, hammingweight(n)*A320008(n-hammingweight(n)));
CROSSREFS
Cf. also A320002, A320009.
Sequence in context: A211511 A211513 A309686 * A127370 A352792 A341165
KEYWORD
nonn
AUTHOR
Antti Karttunen, Nov 24 2018
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.)