login
A105024
a(n) = A102371(n) + n. Or, 2*A103745.
2
0, 2, 4, 10, 16, 34, 68, 130, 256, 514, 1028, 2058, 4096, 8194, 16388, 32770, 65536, 131074, 262148, 524298, 1048592, 2097154, 4194308, 8388610, 16777216, 33554434, 67108868, 134217738, 268435456, 536870914, 1073741828, 2147483650, 4294967296, 8589934594
OFFSET
0,2
LINKS
David Applegate, Benoit Cloitre, Philippe Deléham and N. J. A. Sloane, Sloping binary numbers: a new sequence related to the binary numbers [pdf, ps].
David Applegate, Benoit Cloitre, Philippe Deléham and N. J. A. Sloane, Sloping binary numbers: a new sequence related to the binary numbers, J. Integer Seq. 8 (2005), no. 3, Article 05.3.6, 15 pp.
MAPLE
sm:= proc (n) local t1, l; t1 := 0; for l to n do if `mod`(n-l, 2^l) = 0 then t1 := t1+2^l end if end do; t1 end proc;
CROSSREFS
Sequence in context: A228136 A153927 A117862 * A050871 A348305 A277918
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Apr 03 2005
STATUS
approved