OFFSET
1,5
COMMENTS
Suggested by Francis Maleval in Linkedin "Number Theory" group.
EXAMPLE
a(11) = 10333633323 because:
10333633323 mod 2 = 1, 10333633323 mod 3 = 0, 10333633323 mod 4 = 3,
10333633323 mod 5 = 3, 10333633323 mod 6 = 3, 10333633323 mod 7 = 6,
10333633323 mod 8 = 3, 10333633323 mod 9 = 3, 10333633323 mod 10 = 3,
10333633323 mod 11 = 2, 10333633323 mod 12 = 3.
MAPLE
P:=proc(q) local a, d, j, k, n, ok; for k from 1 to q do d:=0; for n from 10^(k-1) to 10^k-1 do
ok:=1; a:=n; for j from 1 to ilog10(n)+1 do if (a mod 10)<>n mod ((ilog10(n)+2-j)+1)
then ok:=0; break; else a:=trunc(a/10); fi; od; if ok=1 then print(n); d:=1; break; fi; od;
if n=10^k and d=0 then print(0); fi; od; end: P(20);
CROSSREFS
KEYWORD
nonn,base,hard,more
AUTHOR
Paolo P. Lava, Apr 10 2017
EXTENSIONS
a(12)-a(15) from Giovanni Resta, Apr 10 2017
STATUS
approved