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!)
A075782 Numbers n such that perfect_power(n)+perfect_power(n+1) is prime. 0
1, 3, 5, 7, 10, 12, 17, 22, 24, 27, 33, 34, 38, 39, 42, 44, 45, 50, 54, 57, 62, 65, 78, 83, 87, 91, 99, 105, 106, 108, 122, 124, 125, 127, 130, 135, 142, 150, 159, 165, 167, 169, 175, 181, 186, 190, 193, 195, 201, 209, 221, 223, 232, 237, 240, 242, 251, 256, 259 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..59.

EXAMPLE

n=1: perfect_power(1)+perfect_power(2)=1+4=5 is prime.

n=7: perfect_power(7)+perfect_power(8)=27+32=59 is prime.

PROG

(PARI) lista(nn) = {vec = vector(nn, i, i); pp = select(i->((ispower(i) || (i==1))), vec); for (i=1, #pp-1, if (isprime(pp[i]+pp[i+1]), print1(i, ", ")); ); }  \\ Michel Marcus, Oct 03 2013

CROSSREFS

Cf. A001597.

Sequence in context: A037030 A277719 A251553 * A050090 A152004 A298862

Adjacent sequences:  A075779 A075780 A075781 * A075783 A075784 A075785

KEYWORD

easy,nonn

AUTHOR

Zak Seidov, Oct 10 2002

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 January 26 04:04 EST 2022. Contains 350572 sequences. (Running on oeis4.)