OFFSET
1,6
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
Antti Karttunen, Data supplement: n, a(n) computed for n = 1..65537
PROG
(PARI) A094918(n) = lift(Mod((3^n-1)/2, n)); \\ Antti Karttunen, May 19 2020
CROSSREFS
KEYWORD
nonn,look
AUTHOR
N. J. A. Sloane, Jun 18 2004
STATUS
approved