Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A130135
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A130135 Numbers such that prime(n^3)-n is prime. +0
1
2, 4, 12, 30, 40, 42, 62, 66, 70, 72, 84, 88, 98, 112, 130, 150, 180 (list; graph; listen)
OFFSET

1,1

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.

Adjacent sequences: A130132 A130133 A130134 this_sequence A130136 A130137 A130138

Sequence in context: A027132 A096581 A080876 this_sequence A048618 A083554 A059412

KEYWORD

nonn

AUTHOR

Jani Melik (jani_melik(AT)hotmail.com), Aug 01 2007

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified October 6 12:54 EDT 2008. Contains 144667 sequences.


AT&T Labs Research