login
A094922
a(n) = (7^n-1)/6 mod n.
3
0, 0, 0, 0, 1, 0, 1, 0, 0, 8, 1, 0, 1, 8, 12, 0, 1, 0, 1, 0, 15, 8, 1, 0, 1, 8, 0, 8, 1, 18, 1, 0, 24, 8, 22, 0, 1, 8, 18, 0, 1, 36, 1, 4, 36, 8, 1, 0, 8, 8, 6, 36, 1, 0, 7, 8, 0, 8, 1, 0, 1, 8, 36, 0, 6, 6, 1, 60, 57, 8, 1, 0, 1, 8, 57, 20, 43, 30, 1, 0, 0, 8, 1, 36, 81, 8, 57, 16, 1, 18, 29, 32, 57
OFFSET
1,10
LINKS
PROG
(PARI) A094922(n) = ((((7^n)-1)/6)%n); \\ Antti Karttunen, Feb 18 2023
CROSSREFS
Sequence in context: A375078 A365237 A342980 * A230049 A088990 A351129
KEYWORD
nonn,look
AUTHOR
N. J. A. Sloane, Jun 18 2004
STATUS
approved