login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A344360 Primes p such that (2^p - 2)/p + 1 is prime. 1
2, 3, 5, 7, 13, 53, 67, 83, 167, 1367, 2473, 4789, 34127, 219217 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
a(15) > 1099997, if it exists. - Karl-Heinz Hofmann, Jul 27 2021
These are primes p such that 2^((2^p-2)/p) == 1 (mod (2^p-2)/p+1) if and only if there are no pseudoprimes of the form (2^q-2)/q+1 with q prime. - Thomas Ordowski, Aug 29 2021
LINKS
EXAMPLE
7 is a term because (2^7 - 2)/7 + 1 = 19 is prime.
MATHEMATICA
Select[Prime@ Range[10^3], PrimeQ[(2^# - 2)/# + 1] &] (* Michael De Vlieger, Oct 12 2021 *)
PROG
(PARI) lista(lim)={forprime(p=1, lim, if(ispseudoprime((2^p-2)/p+1), print1(p, ", ")))}
(PARI) c3(p) = {s=3; for(x=1, p, s=(s^2)%((2^p-2)/p+1)); if(s==9, print1(p, ", "))} /* PRP Test */
CROSSREFS
Sequence in context: A038965 A295738 A265781 * A250407 A055694 A249797
KEYWORD
nonn,more
AUTHOR
Jorge Coveiro, May 15 2021
EXTENSIONS
a(14) from Karl-Heinz Hofmann, Jun 11 2021
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)