OFFSET
1,3
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
FORMULA
a(p) = p - 1 for all prime p.
MATHEMATICA
MapIndexed[Mod[#1, First@ #2] &, LinearRecurrence[{-1, 1, -1, 0, 1}, {-1, 3, -7, 11, -16}, 74]] (* Michael De Vlieger, Jul 21 2017, after T. D. Noe at A225984 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Jul 21 2017
STATUS
approved