OFFSET
1,3
COMMENTS
a(1) = a(2) = 0 because prime(1) = 2 and prime(1)*prime(2) = 6 are one-digit numbers.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = A002110(n)/10 mod 10 for n > 2; a(1) = a(2) = 0.
MAPLE
a[1]:= 0: a[2]:= 0: a[3]:= 3: p:= 5:
for n from 4 to 1000 do
p:= nextprime(p);
a[n]:= (a[n-1] * p) mod 10:
od: # Robert Israel, Nov 22 2018
MATHEMATICA
a(1) = a(2) = 0, for n>2 Table[ Mod[ Product[ Prime[n], {n, 1, k} ], 100 ]/10, {k, 3, 1000} ]
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Alexander Adamchuk, Feb 08 2008
STATUS
approved