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”).

A022474
Number of 3's in n-th term of A022470.
1
0, 0, 0, 1, 1, 1, 2, 3, 3, 6, 7, 7, 11, 15, 14, 24, 30, 38, 48, 73, 83, 114, 155, 191, 251, 336, 426, 560, 737, 964, 1237, 1628, 2135, 2726, 3622, 4680, 6104, 7948, 10430, 13504, 17662, 23081, 29965, 39050, 51143, 66276, 86674, 112986, 147161, 191843, 250259
OFFSET
1,7
LINKS
MATHEMATICA
p={4, -7, 7, -12, 9, -4, 6, -6, 5, -5, 10, -12, 10, -11, 8, -6, 4, -2, 5, -4, 1, 2, -9, 16, -15, 5, -6, 0, 3, 12, -8, 2, -6, -4, -3, 12, -10, 18, -8, 3, -8, 0, 5, -6, 7, -8, 0, 10, -9, 4, -6, -2, 11, 0, 2, -5, 0, -3, 1, -1, 0, 3, 1, -2, -1, 0, 1, 1, 0, -1, 0, 0, 0}; q={-6, 9, -9, 18, -16, 11, -14, 8, -1, 5, -7, -2, -8, 14, 5, 5, -19, -3, 6, 7, 6, -16, 7, -8, 22, -17, 12, -7, -5, -7, 8, -4, 7, 9, -13, 4, 6, -14, 14, -19, 7, 13, -2, 4, -18, 0, 1, 4, 12, -8, 5, 0, -8, -1, -7, 8, 5, 2, -3, -3, 0, 0, 0, 0, 2, 1, 0, -3, -1, 1, 1, 1, -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 23 2013 *)
CROSSREFS
Sequence in context: A322291 A184830 A025499 * A194189 A028249 A121833
KEYWORD
nonn
STATUS
approved