login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A244932 Least number k > n such that k^8 + n^8 is prime. 1
2, 13, 10, 17, 6, 37, 12, 13, 16, 27, 24, 71, 16, 31, 64, 43, 18, 43, 26, 23, 32, 29, 24, 79, 32, 53, 34, 61, 92, 47, 40, 33, 34, 57, 36, 47, 40, 53, 40, 79, 44, 43, 68, 91, 68, 57, 66, 61, 60, 53, 58, 83, 60, 91, 94, 61, 82, 61, 70, 101, 82, 71, 68, 145, 82, 67, 76, 69, 100 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

a(n) = n+1 iff n is in A153504.

LINKS

Jens Kruse Andersen, Table of n, a(n) for n = 1..10000

EXAMPLE

13^8 + 14^8 = 2291519777 is not prime, 13^8 + 15^8 = 3378621346 is not prime. 13^8 + 16^8 = 5110698017 is prime. Thus a(13) = 16.

PROG

(Python)

import sympy

from sympy import isprime

def a(n):

..for k in range(n+1, 10**4):

....if isprime(k**8+n**8):

......return k

n = 1

while n < 100:

..print(a(n), end=', ')

..n += 1

(PARI) a(n)=for(k=n+1, 10^4, if(isprime(k^8+n^8), return(k)))

n=1; while(n<100, print1(a(n), ", "); n++)

CROSSREFS

Cf. A158979, A089489, A242553.

Sequence in context: A292007 A213825 A333493 * A157480 A342953 A213306

Adjacent sequences:  A244929 A244930 A244931 * A244933 A244934 A244935

KEYWORD

nonn

AUTHOR

Derek Orr, Jul 08 2014

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 7 06:57 EDT 2021. Contains 343636 sequences. (Running on oeis4.)