OFFSET
0,3
COMMENTS
a(n) modulo 2 is the Prouhet-Thue-Morse sequence A010060.
The sequence of Jacobsthal numbers A001045 begins [1, 1, 3, 5, 11, 21, ...] with two occurrences of the term 1. Allowing for this, we find that the numbers representable as a sum of distinct Jacobsthal numbers form A050292. - Peter Bala, Feb 02 2013
Partial sums of A056832. - Reinhard Zumkeller, Jul 29 2014
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..10000
L. Carlitz, R. Scoville and V. E. Hoggatt, Jr., Representations for a special sequence, Fib. Quart., 10 (1972), 499-518, 550 (see page 499).
PROG
(Haskell)
a197911 n = a197911_list !! n
a197911_list = scanl (+) 0 a056832_list
-- Reinhard Zumkeller, Jul 29 2014
(Python)
def A197911(n): return n+sum((~(i+1)&i).bit_length()&1 for i in range(n)) # Chai Wah Wu, Jan 09 2023
CROSSREFS
KEYWORD
easy,nonn,changed
AUTHOR
Philippe Deléham, Oct 19 2011
STATUS
approved