login
A088517
First differences of Golomb's sequence.
3
1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0
OFFSET
1,1
COMMENTS
Characteristic function of A001463
FORMULA
a(n)=A001462(n+1)-A001462(n); a(A001463(n))=1
PROG
(Haskell)
a088517 n = a001462 (n + 1) - a001462 n
a088517_list = zipWith (-) (tail a001462_list) a001462_list
-- Reinhard Zumkeller, Apr 28 2012
CROSSREFS
Sequence in context: A108357 A309848 A326822 * A325897 A040053 A267513
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Nov 14 2003
STATUS
approved