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.
%I A248790 #15 Apr 03 2025 18:53:13 %S A248790 510,720,1200,2190,4350,4980,5040,5250,5670,6810,8280,8490,9150,10140, %T A248790 10650,11430,12510,13800,13980,14160,14640,14700,14820,15000,15750, %U A248790 16890,17220,18180,18270,18750,19110,20940,21270,22050,24000,24570,24720,24990,25620,25920,26520 %N A248790 Numbers n with the property that p = n^2 - 11 and q = n^2 + 11 are consecutive primes. %C A248790 All terms are == 0 (mod 30). %H A248790 Zak Seidov, <a href="/A248790/b248790.txt">Table of n, a(n) for n = 1..1000</a> %e A248790 n=510, p=260089=prime(22845), q=260111=prime(22846). %t A248790 Select[Range[30000],With[{c=#^2-11},PrimeQ[c]&&NextPrime[c]==c+22&]] (* _Harvey P. Dale_, Apr 03 2025 *) %o A248790 (PARI) isok(n) = isprime(p=n^2-11) && isprime(q=n^2+11) && (q==nextprime(p+1)); \\ _Michel Marcus_, Oct 14 2014 %Y A248790 Subsequence of A176683 and of A075190. E.g., a(1)=510=A075190(62)=A176683(6). %Y A248790 Cf. A248785. %K A248790 nonn %O A248790 1,1 %A A248790 _Zak Seidov_, Oct 14 2014