login
A112893
a(n) is the least positive integer in base 10 containing n twos that is divisible by n.
1
2, 22, 222, 22212, 222220, 222222, 21222222, 222222224, 222222222, 22222222220, 222222222222, 2222222222220, 22222122222222, 222122222222222, 2222222222222220, 22222222222222224, 222202222222222222
OFFSET
1,1
FORMULA
a(n) = n*A112894(n).
EXAMPLE
a(4) = 22212 because 22212 contains 4 twos and is divisible by 4.
KEYWORD
base,nonn
AUTHOR
Ray G. Opao, Oct 05 2005
EXTENSIONS
Extended by Ray Chandler, Oct 09 2005
STATUS
approved