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”).

A067930
Nonprime solutions to k == -1 (mod phi(k+1)).
1
1, 15, 35, 63, 95, 143, 161, 215, 255, 287, 323, 485, 511, 575, 767, 1023, 1295, 1457, 1535, 1727, 1943, 2047, 2303, 2915, 3071, 3455, 3887, 4095, 4607, 5183, 5831, 7775, 9215, 10367, 11663, 12287, 13823, 16383, 17495, 18431, 20735, 24575, 26243, 31103, 32767
OFFSET
1,2
COMMENTS
Odd terms in A005105 are primes solutions to p==-1 (mod phi(p+1)).
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..336 (terms below 5*10^10)
MATHEMATICA
Select[Range[30000], !PrimeQ[#] && Divisible[# + 1, EulerPhi[# + 1]] &] (* Amiram Eldar, Nov 29 2020 *)
PROG
(PARI) isok(m) = !isprime(m) && (Mod(m, eulerphi(m+1)) == -1); \\ Michel Marcus, Nov 29 2020
CROSSREFS
Sequence in context: A340449 A063532 A212331 * A257836 A146688 A146656
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Feb 22 2002
STATUS
approved