OFFSET
1,2
PROG
(PARI) a(n) = (prime(n)-1)/3^valuation(prime(n)-1, 3)
CROSSREFS
KEYWORD
nonn
AUTHOR
Ralf Stephan, Oct 24 2004
STATUS
approved