OFFSET
0,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 0..1000
Eric Weisstein's World of Mathematics, Rule 30.
FORMULA
a(n+1) = 2*a(n) + A051023(n+1). - Reinhard Zumkeller, Jun 08 2013
EXAMPLE
a(6) = 55_10 = 110111_2
MATHEMATICA
a(n_) := FromDigits[Take[A051023, n], 2]
PROG
(Haskell)
a092539 n = a092539_list !! n
a092539_list = scanl1 (\v d -> 2 * v + d) $ map toInteger a051023_list
-- Reinhard Zumkeller, Jun 08 2013
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Feb 27 2004
EXTENSIONS
Offset corrected and definition adjusted by Reinhard Zumkeller, Jun 08 2013
STATUS
approved