login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A099183
Primes of the form p^2 + p - q, where p and q are consecutive primes.
1
3, 7, 23, 523, 839, 2203, 2803, 5039, 5323, 6883, 11447, 27883, 36479, 57119, 69163, 128873, 134683, 139123, 146683, 218077, 229433, 253003, 310243, 323759, 351643, 368443, 418603, 458323, 579113, 635197, 703907, 776159, 896803, 993997, 1067083
OFFSET
1,1
LINKS
MATHEMATICA
Select[ Table[ Prime[n]^2 + Prime[n] - Prime[n + 1], {n, 175}], PrimeQ[ # ] &] (* Robert G. Wilson v, Nov 16 2004 *)
Select[#[[1]]^2+#[[1]]-#[[2]]&/@Partition[Prime[Range[300]], 2, 1], PrimeQ] (* Harvey P. Dale, Aug 19 2015 *)
CROSSREFS
Sequence in context: A001773 A067604 A090118 * A316792 A358974 A110864
KEYWORD
nonn
AUTHOR
Giovanni Teofilatto, Nov 15 2004
EXTENSIONS
Edited, corrected and extended by Robert G. Wilson v, Nov 16 2004
STATUS
approved