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”).

A112907
a(n) is the least positive integer containing n eights that is divisible by n.
19
8, 88, 888, 8888, 888880, 888888, 28888888, 88888888, 888888888, 88888888880, 888888888888, 888888888888, 78888888888888, 588888888888888, 8888888888888880, 88888888888881888, 688888888888888888
OFFSET
1,1
FORMULA
a(n) = n*A112908(n).
EXAMPLE
a(7) = 28888888 because 28888888 contains 7 eights and is divisible by 7.
KEYWORD
base,nonn
AUTHOR
Ray G. Opao, Oct 05 2005
EXTENSIONS
Extended by Ray Chandler, Oct 09 2005
STATUS
approved