[go: up one dir, main page]

login
A069537
Multiples of 2 whose digit sum is 2.
22
2, 20, 110, 200, 1010, 1100, 2000, 10010, 10100, 11000, 20000, 100010, 100100, 101000, 110000, 200000, 1000010, 1000100, 1001000, 1010000, 1100000, 2000000, 10000010, 10000100, 10001000, 10010000, 10100000, 11000000, 20000000, 100000010, 100000100, 100001000
OFFSET
1,1
LINKS
PROG
(Python)
from itertools import product
def agen():
digits = 1
while True:
for i in range(digits-2): yield int("1"+"0"*(digits-3-i)+"1"+"0"*i+"0")
yield int("2"+"0"*(digits-1))
digits += 1
g = agen()
print([next(g) for i in range(32)]) # Michael S. Branicky, Feb 20 2021
CROSSREFS
Subsequence of A005349.
Row n=2 of A245062.
Sequence in context: A001884 A028477 A073077 * A282818 A001797 A084894
KEYWORD
base,nonn
AUTHOR
Amarnath Murthy, Apr 01 2002
EXTENSIONS
Corrected and extended by Ray Chandler, Sep 28 2003
STATUS
approved