cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A137460 Prime numbers k such that k^2 +- (k+1) are primes.

This page as a plain text file.
%I A137460 #15 Jun 26 2025 11:06:23
%S A137460 3,5,17,71,101,131,677,839,857,1091,1217,2129,2309,2339,2957,3137,
%T A137460 3449,3989,4409,6569,6719,6761,7229,8501,8627,8807,9521,9689,9749,
%U A137460 10589,10631,11621,11777,11927,12641,13487,13931,14519,15527,15797,16007
%N A137460 Prime numbers k such that k^2 +- (k+1) are primes.
%H A137460 Vincenzo Librandi, <a href="/A137460/b137460.txt">Table of n, a(n) for n = 1..1000</a>
%F A137460 A053182 INTERSECT A091567. - _R. J. Mathar_, Apr 19 2009
%e A137460 3^2 +- 4 -> (5,13) primes,
%e A137460 5^2 +- 6 -> (19,31) primes.
%t A137460 Select[Prime[Range[800]], PrimeQ[ #^2 - (# + 1)] && PrimeQ[ #^2 + (# + 1)] &]
%Y A137460 Cf. A053182, A091567.
%K A137460 nonn,easy
%O A137460 1,1
%A A137460 _Vladimir Joseph Stephan Orlovsky_, Apr 21 2008
%E A137460 More terms from _Karl Hovekamp_, Jan 24 2009