|
Search: id:A120405
|
|
|
| A120405 |
|
a(n) = 1, a(2) = 1, then append the dot product of (1,2) and (1,1) = 1*1, 1*2 = 1, 2; to the right of 1, 1; getting (1, 1, 1, 2). The next operation uses the dot product of (1, 2, 3, 4) and (1, 1, 1, 2), getting (1, 2, 3, 8) which we append to the right of (1, 1, 1, 2), getting (1, 1, 1, 2, 1, 2, 3, 8) and so on. |
|
+0 4
|
|
| 1, 1, 1, 2, 1, 2, 3, 8, 1, 2, 3, 8, 5, 12, 21, 64, 1, 2, 3, 8, 5, 12, 21, 64, 9, 20, 33, 96, 65, 168, 315, 1024, 1, 2, 3, 8, 5, 12, 21, 64, 9, 20, 33, 96, 65, 168, 315, 1024, 17, 36, 57, 160, 105, 264, 483, 1536, 225, 520, 891, 2688, 1885, 5040, 9765, 32768, 1, 2, 3, 8, 5
(list; graph; listen)
|
|
|
OFFSET
|
1,4
|
|
|
FORMULA
|
Given a(1) = 1, perform the operation n * a(n) and append to the right of current subset; each operation doubles the number of terms.
a(2^k+m)=m*a(m), 1<=m<2^k, k=0,1,2,3,... - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 17 2006
|
|
MAPLE
|
A120405 := proc(n) local bas ; if n = 1 then RETURN(1) ; else bas := floor( log[2](n-1) ) ; l := n-2^bas ; RETURN(l*A120405(l)) ; fi ; end; for n from 1 to 200 do printf("%d, ", A120405(n)) ; od ; - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 17 2006
|
|
CROSSREFS
|
Cf. A120405.
Sequence in context: A051850 A077013 A086880 this_sequence A155004 A034952 A118888
Adjacent sequences: A120402 A120403 A120404 this_sequence A120406 A120407 A120408
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Gary W. Adamson (qntmpkt(AT)yahoo.com), Jul 03 2006
|
|
EXTENSIONS
|
More terms from R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Aug 17 2006
|
|
|
Search completed in 0.002 seconds
|