login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A112891
a(n) is the least positive integer in base 10 containing n ones that is divisible by n.
1
1, 110, 111, 11112, 111110, 1111110, 11101111, 111111112, 111111111, 11111111110, 111111111111, 1111111111116, 11111111111113, 111111111111112, 1111111111111110, 111111111111110112, 111101111111111111
OFFSET
1,2
FORMULA
a(n) = n*A112892(n).
EXAMPLE
a(4) = 11112 because 11112 contains 4 ones 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