OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..1000
MATHEMATICA
Select[Range[500], Mod[FromDigits[PadRight[{}, #, 1]], #]==Mod[1111, #]&] (* Harvey P. Dale, Nov 12 2015 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Benoit Cloitre, Mar 05 2002
STATUS
approved