OFFSET
1,4
EXAMPLE
a(4) = 4321 mod prime(4) = 4321 mod 7 = 2.
MATHEMATICA
a = {}; b = {}; For[n = 1, n < 80, n++, a = Join[IntegerDigits[n], a]; AppendTo[b, Mod[FromDigits[a], Prime[n]]]]; b
CROSSREFS
KEYWORD
base,nonn,less
AUTHOR
Amarnath Murthy, Jun 17 2004
EXTENSIONS
Edited, corrected and extended by Stefan Steinerberger, Jun 23 2007
STATUS
approved