login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A022466
Number of 1's in n-th term of A007651.
2
1, 2, 1, 3, 4, 3, 4, 6, 8, 12, 13, 18, 24, 33, 39, 52, 67, 88, 113, 155, 211, 264, 331, 455, 596, 762, 1000, 1288, 1688, 2222, 2884, 3754, 4915, 6364, 8300, 10845, 14138, 18372, 23966, 31254, 40821, 53113, 69336, 90273, 117678, 153518, 199990, 260671, 340007
OFFSET
1,2
LINKS
MATHEMATICA
p={10, -3, 15, -13, 26, -10, -18, -33, 21, -3, 9, -22, 40, 8, 12, -52, -19, 73, 38, 5, 14, -25, -35, -20, -25, 53, 29, 4, -91, -43, 42, 18, 36, -5, -99, 10, 7, 55, 44, -44, -53, -5, 15, 47, -19, -23, 13, 21, 18, -55, -39, 15, 35, 36, -7, -23, -9, -3, 3, 2, 1, 2, 6, 6, -2, -9, -5, 2, 7, 3, -1, -1, -2, -2, -1, 0, 2, 1}; q={-6, 3, -6, 12, -4, 7, -7, 1, 0, 5, -2, -4, -12, 2, 7, 12, -7, -10, -4, 3, 9, -7, 0, -8, 14, -3, 9, 2, -3, -10, -2, -6, 1, 10, -3, 1, 7, -7, 7, -12, -5, 8, 6, 10, -8, -8, -7, -3, 9, 1, 6, 6, -2, -3, -10, -2, 3, 5, 2, -1, -1, -1, -1, -1, 1, 2, 2, -1, -2, -1, 0, 1}; gf=Fold[x #1+#2&, 0, p]/Fold[x #1+#2&, 0, q]; CoefficientList[Series[gf, {x, 0, 99}], x] (* Peter J. C. Moses, Jun 24 2013 *)
CROSSREFS
Cf. A007651.
Sequence in context: A301453 A278340 A324749 * A144254 A378020 A133310
KEYWORD
nonn
STATUS
approved