|
| |
|
|
A135993
|
|
a(0)=0; a(n)=(floor(n/S2(n))) mod 2, where S2(n) is the binary weight of n.
|
|
1
| |
|
|
0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,1
|
|
|
REFERENCES
| J.-P. Allouche, J. Shallit and J. Sondow, Summation of series defined by counting blocks of digits, J. Number Theory 123 (2007) 133-143.
J. Sondow and P. Hadjicostas, The generalized-Euler-constant function gamma(z) and a generalization of Somos's quadratic recurrence constant, J. Math. Anal. Appl. 332 (2007) 292-314
|
|
|
LINKS
| J.-P. Allouche, J. Shallit and J. Sondow, Summation of Series Defined by Counting Blocks of Digits, arXiv:math/0512399
J. Sondow and P. Hadjicostas, The Generalized-Euler-Constant Function (z) and a Generalization of Somos's Quadratic Recurrence Constant, arXiv:0610499
|
|
|
EXAMPLE
| a(17)=(floor(17/2))mod 2 = 0
a(18)=(floor(18/2))mod 2 = 1
|
|
|
CROSSREFS
| Cf. A010060, A007953.
Sequence in context: A101309 A141474 A073424 * A145573 A092202 A159684
Adjacent sequences: A135990 A135991 A135992 * A135994 A135995 A135996
|
|
|
KEYWORD
| easy,nonn
|
|
|
AUTHOR
| Ctibor O. Zizka (ctibor.zizka(AT)seznam.cz), Mar 03 2008
|
|
|
EXTENSIONS
| Converted references into links - R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Oct 30 2009
|
| |
|
|