login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A065296
Values of n such that A065295(n) = 1.
4
2, 3, 5, 11, 53, 59, 83, 107, 179, 227, 269, 293, 317, 347, 389, 467, 557, 563, 587, 797, 1019, 1109, 1187, 1259, 1283, 1307, 1523, 1579, 1619, 1733, 1907, 2027, 2099, 2459, 2477, 2579, 2693, 2819, 2909, 2957, 2963, 3203, 3413, 3467, 3779, 3803, 3947, 4139
OFFSET
1,1
COMMENTS
For all these the only value of s such that s^s mod n = s is s=1; all the values appear to be primes.
LINKS
PROG
(PARI) { n=0; for (m = 2, 10^9, a=1; for (s=2, m - 1, if (s^s % m == s, a++; break)); if (a==1, write("b065296.txt", n++, " ", m); if (n==100, return)) ) } [Harry J. Smith, Oct 15 2009]
CROSSREFS
Cf. A065295.
Sequence in context: A109462 A357305 A000905 * A114895 A083685 A243755
KEYWORD
nonn
AUTHOR
Jonathan Ayres (jonathan.ayres(AT)btinternet.com), Oct 28 2001
EXTENSIONS
Corrected by T. D. Noe, Nov 01 2006
STATUS
approved