login
A265397
a(n) = n - A264977(n).
5
0, 0, 0, 0, 0, 4, 0, 0, 0, 4, 8, 4, 0, 12, 0, 0, 0, 4, 8, 12, 16, 16, 8, 12, 0, 12, 24, 12, 0, 28, 0, 0, 0, 4, 8, 28, 16, 24, 24, 36, 32, 40, 32, 32, 16, 40, 24, 28, 0, 28, 24, 36, 48, 40, 24, 36, 0, 28, 56, 28, 0, 60, 0, 0, 0, 4, 8, 60, 16, 40, 56, 52, 32, 48, 48, 72, 48, 64, 72, 68, 64, 72, 80, 72, 64, 84, 64, 64, 32
OFFSET
0,6
COMMENTS
Note that A264977(n) gives the value of the n-th Stern polynomial (cf. A260443, A125184) evaluated at X=2 over the field GF(2), while n gives the value of the same polynomial evaluated at X=2 in the usual way.
Each term seems to be a multiple of 4.
LINKS
FORMULA
a(n) = n - A264977(n).
PROG
(Scheme) (define (A265397 n) (- n (A264977 n)))
CROSSREFS
Cf. A023758 (positions of zeros).
Sequence in context: A270029 A028598 A272618 * A071327 A071326 A284103
KEYWORD
nonn
AUTHOR
Antti Karttunen, Dec 16 2015
STATUS
approved