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

A165478
Positions of zeros in A165477.
5
0, 131070, 131071, 262141, 262142, 393212, 393213, 524283, 524284, 655354, 655355, 786425, 786426, 917496, 917497, 1048567, 1048568, 1179638, 1179639, 1310709, 1310710, 1441780, 1441781, 1572851, 1572852, 1703922, 1703923
OFFSET
0,2
FORMULA
a(n) = floor(n/2)*131071 + (n modulo 2)*131070
PROG
(MIT Scheme:) (define (A165478 n) (+ (* (floor->exact (/ n 2)) 131071) (* (modulo n 2) 131070)))
CROSSREFS
See also A165479. Compare also to A165473, A165483.
Sequence in context: A013693 A103534 A239610 * A051331 A075972 A011567
KEYWORD
nonn
AUTHOR
Antti Karttunen, Sep 21 2009
STATUS
approved