[go: up one dir, main page]

login
A127050
A007376(2n+1).
4
1, 3, 5, 7, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 1, 1, 0, 1, 3, 0, 1, 5, 0
OFFSET
0,2
COMMENTS
This and the other "decimations" of A007376 were suggested by a problem in Honsberger's book.
REFERENCES
R. Honsberger, Mathematical Chestnuts from Around the World, MAA, 2001; see p. 163.
PROG
(Python)
from itertools import islice, count
def A127050gen(): return islice((int(d) for n in count(0) for d in str(n)), 1, None, 2)
A127050_list = list(islice(A127050gen(), 40)) # Chai Wah Wu, Dec 04 2021
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Jul 23 2008
STATUS
approved