login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A132746 Numbers n such that p(n) + p(n+1) is a perfect power, where p(n) is n-th prime. 0
2, 7, 15, 18, 20, 28, 61, 152, 190, 293, 377, 492, 558, 564, 789, 919, 942, 1332, 1768, 2343, 2429, 2693, 2952, 3136, 3720, 3928, 4837, 5421, 5722, 6870, 7347, 8126, 8193, 9465, 9857, 9927, 10410, 10483, 10653, 12685, 13005, 13763, 13955, 16033, 16342 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

Cf. A064397 Numbers n such that p(n) + p(n+1) is a square. First terms absent in A064397: 2,18,28,564,1332,3928,12415,13005,16886.

EXAMPLE

2 is ok because p(2)+p(3)=3+5=8=2^3 (perfect power)

7 is ok because p(7)+p(8)=17+19=36=6^2 (perfect power)

39867 is ok because p(39867)+p(39868)=478241+478243=956484=978^2 (perfect power).

PROG

(PARI) s=[]; for(n=1, 41530, a=prime(n)+prime(n+1); if(ispower(a), s=concat(s, n))); s

CROSSREFS

Cf. A064397.

Sequence in context: A088824 A034903 A070898 * A167543 A184976 A194140

Adjacent sequences:  A132743 A132744 A132745 * A132747 A132748 A132749

KEYWORD

nonn

AUTHOR

Zak Seidov (zakseidov(AT)yahoo.com), Nov 17 2007

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 03:45 EST 2012. Contains 205978 sequences.