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!)
A227890 Primes of the form prime(k)^2 - k. 1
3, 7, 163, 353, 5021, 12739, 32719, 49681, 52391, 78901, 113501, 252913, 361091, 452807, 551917, 993841, 1559797, 1956979, 2193127, 3463037, 4067983, 5003837, 5138953, 6115363, 6723271, 7251857, 7447043, 7578607, 8426989, 9479801, 11295847, 12186593, 12439237 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
a(3)= 163: prime(6)^2 - 6= 13^2 - 6= 169 - 6= 163 which is prime.
a(4)= 353: prime(8)^2 - 8= 19^2 - 8= 361 - 8= 353 which is prime.
MAPLE
with(numtheory):KD := proc() local a; a:= (ithprime(k)^2-k); if isprime(a) then RETURN (a); fi; end: seq(KD(), k=1..1000);
MATHEMATICA
Select[Table[Prime[k]^2-k, {k, 1000}], PrimeQ]
PROG
(PARI) for(k=1, 10^5, if(ispseudoprime(KD=((prime(k)^2-k))), print1(KD", ")));
CROSSREFS
Cf. A000040 (prime numbers).
Cf. A064713 (for the integers k).
Cf. A184935 (primes: k^2 + prime(k)).
Cf. A188831 (primes: k^2 - prime(k)).
Cf. A229203 (primes: k^3 - prime(k)).
Sequence in context: A275195 A031881 A264931 * A114789 A128273 A105763
KEYWORD
nonn
AUTHOR
K. D. Bajpai, Oct 26 2013
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 09:23 EDT 2024. Contains 371782 sequences. (Running on oeis4.)