OFFSET
1,4
PROG
(PARI) for n>3 ? a(n)=if(n<4, n==2, znorder(Mod(10, prime(n)))) ? for(n=4, 150, print1(gcd(a(n), 3^100), ", "))
CROSSREFS
KEYWORD
base,easy,nonn
AUTHOR
Benoit Cloitre, Jul 26 2002
STATUS
approved