login
A231564
Numbers such that A231563(n)=0.
3
1, 3, 5, 7, 9, 10, 11, 13, 14, 15, 17, 19, 21, 22, 23, 25, 26, 27, 28, 29, 31, 33, 34, 35, 37, 38, 39, 41, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 55, 56, 57, 58, 59, 61, 62, 63, 65, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 85, 86, 87, 88
OFFSET
1,2
COMMENTS
This sequence contains the odd primes.
MATHEMATICA
S[n_] := Mod[Sum[If[GCD[i, n] == 1, PowerMod[i, n, n], 0], {i, 1, n}], n]; Select[Range[100], S[#]==0&]
CROSSREFS
Sequence in context: A080259 A067715 A344291 * A325798 A365830 A238524
KEYWORD
nonn
AUTHOR
STATUS
approved