The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation. Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A130135 Numbers such that prime(n^3)-n is prime. 0
 2, 4, 12, 30, 40, 42, 62, 66, 70, 72, 84, 88, 98, 112, 130, 150, 180 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,1 LINKS EXAMPLE a(1)=2 because prime(2^3)-2 = 19-2 = 17 and 17 is prime, a(2)=4 because prime(4^3)-4 = 311-4 = 307 and 307 is prime, a(3)=12 because prime(12^3)-12 = 14741 and 14741 is prime, ... MAPLE ts_pra_3:=proc(n) local i, ans; ans := [ ]: for i from 1 to n do if (isprime(ithprime(i^(3))-i)) then ans := [ op(ans), i ]: fi: od; RETURN(ans) end: ts_pra_3(200); CROSSREFS Cf. A064269 - prime(n)-n is prime, A105962 - prime(n^2)-n is prime. Sequence in context: A148184 A148185 A215871 * A048618 A083554 A059412 Adjacent sequences:  A130132 A130133 A130134 * A130136 A130137 A130138 KEYWORD nonn AUTHOR Jani Melik, Aug 01 2007 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.

Last modified April 9 04:05 EDT 2020. Contains 333343 sequences. (Running on oeis4.)