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.

A131530 Numbers k such that k^2 - k - 1 and k^2 - k + 1 are twin primes.

This page as a plain text file.
%I A131530 #25 Mar 12 2025 10:50:00
%S A131530 3,4,6,7,9,16,21,22,25,39,42,51,55,60,67,90,102,132,139,142,154,156,
%T A131530 165,177,189,204,207,210,216,219,232,237,247,289,291,310,315,352,379,
%U A131530 396,406,454,456,457,496,501,519,531,552,561,625,645,669,687,721,729,744
%N A131530 Numbers k such that k^2 - k - 1 and k^2 - k + 1 are twin primes.
%H A131530 Seiichi Manyama, <a href="/A131530/b131530.txt">Table of n, a(n) for n = 1..5000</a>
%t A131530 Select[Range[744],AllTrue[{#^2-#-1,#^2-#+1},PrimeQ]&] (* _James C. McMahon_, Feb 25 2025 *)
%o A131530 (Magma) [n: n in [0..500] | IsPrime(n^2-n-1) and IsPrime(n^2-n+1)]; // _Vincenzo Librandi_, Nov 23 2010
%Y A131530 Intersection of A002328 and A055494. - _Michel Marcus_, Jan 24 2018
%K A131530 nonn
%O A131530 1,1
%A A131530 _Pierre CAMI_, Aug 26 2007