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!)
A196446 Numbers n such that both n and (n-1)^2*2^n-1 are primes. 1
2, 3, 19, 29, 43, 61, 79, 109, 151, 167, 2311 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Primes p such that (p-1)^2*2^p-1 is also prime.
LINKS
EXAMPLE
a(1)=2 because 2 is a prime and (2-1)^2*2^2-1=3 is a prime,
a(2)=3 because 3 is a prime and (3-1)^2*2^3-1=31 is a prime,
a(3)=19 because 19 is a prime and (19-1)^2*2^19-1=169869313 is a prime,
a(4)=29 because 29 is a prime and (29-1)^2*2^29-1=420906795007 is a prime.
MATHEMATICA
Select[Prime[Range[40]], PrimeQ[(#-1)^2 2^#-1]&] (* The program generates the first 10 terms *) (* Harvey P. Dale, Sep 06 2017 *)
CROSSREFS
Sequence in context: A215383 A215387 A140555 * A341599 A265799 A058912
KEYWORD
nonn
AUTHOR
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 24 15:18 EDT 2024. Contains 371960 sequences. (Running on oeis4.)