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!)
A095829 Numbers n such that n^(n+2) + (n+1)^(n+3) is prime. 0
1, 3, 5, 6, 9, 21, 24, 35, 84, 396, 1585 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(1) through a(9) have been proved to be prime. 396^398 + 397^399 is Fermat and Lucas PRP. 1585^1587 + 1586^1588 is 3-PRP. No more terms up to 2150.
Results were computed using the PrimeFormGW (PFGW) primality-testing program. - Hugo Pfoertner, Nov 14 2019
LINKS
EXAMPLE
a(5)=9 because 9^11 + 10^12 = 1031381059609 is prime.
PROG
(PARI) is(n)=isprime(n^(n+2)+(n+1)^(n+3)) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Sequence in context: A309140 A102606 A102372 * A054871 A248644 A242197
KEYWORD
nonn,more,hard
AUTHOR
Jason Earls, Jul 10 2004
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 19 04:35 EDT 2024. Contains 371782 sequences. (Running on oeis4.)