login
A112897
a(n) is the least positive integer in base 10 containing n fours that is divisible by n.
1
4, 44, 444, 4444, 444440, 444444, 14444444, 444444144, 444444444, 44444444440, 444444444444, 444444444444, 44444244444444, 434444444444444, 4444444444444440, 44444444444444144, 344444444444444444
OFFSET
1,1
FORMULA
a(n) = n*A112898(n).
EXAMPLE
a(7) = 14444444 because 14444444 contains 7 fours 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