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

A071992
a(n) = 3*n^2 + 2*n - 4 * Sum_{k=1..n} A003159(k).
6
1, 0, 1, 4, 5, 4, 1, 0, 1, 0, 1, 4, 5, 8, 13, 16, 17, 16, 17, 20, 21, 20, 17, 16, 17, 16, 13, 8, 5, 4, 1, 0, 1, 0, 1, 4, 5, 4, 1, 0, 1, 0, 1, 4, 5, 8, 13, 16, 17, 16, 17, 20, 21, 24, 29, 32, 37, 44, 49, 52, 53, 56, 61, 64, 65, 64, 65, 68, 69, 68, 65, 64, 65, 64, 65, 68, 69, 72, 77, 80
OFFSET
1,4
COMMENTS
0 <= a(n) <= n for any n.
FORMULA
For any k, a(A062880(k)) = 0; a(A000695(k))=A000695(k)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Jun 17 2002
STATUS
approved