login
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