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

A277024
a(n) = A277023(n) - n^2.
5
0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 0, 0, 3, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 3, 2, 2, 0, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 0, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0, 2, 3, 2, 2, 0, 2, 2, 0, 2, 2, 2, 2, 2, 2, 2, 0
OFFSET
0,2
LINKS
FORMULA
a(n) = A277023(n) - n^2.
PROG
(Scheme) (define (A277024 n) (- (A277023 n) (A000290 n)))
CROSSREFS
Cf. A277015 (positions of zeros), A277025 (positions where 4n is zero), A277026 (where 4n is nonzero).
Sequence in context: A108352 A346149 A215883 * A317528 A246793 A335185
KEYWORD
nonn
AUTHOR
Antti Karttunen, Oct 03 2016
STATUS
approved