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 A110559 #18 Sep 17 2019 10:31:26 %S A110559 4,1,2,12,6,2,18,3,10,6,12,3,12,18,18,57,12,5,120,12,2,3,132,2,42,3, %T A110559 58,45,12,7,72,15,10,3,6,2,60,30,12,3,168,2,192,18,2,33,48,10,138,39, %U A110559 8,63,42,22,60,42,32,3,120,6,90,18,40,165,204,7,90,18,70,6,72,27,30,15,6,18 %N A110559 Least j such that j*n^2 -1 and j*n^2 +1 are twin primes. %C A110559 Define Sj=sum of j(n) for n=1 to N. Define Sn=sum of (2*log(n))^2 for n=1 to N. As N increases Sj/Sn tends to 0.6. - _Pierre CAMI_, Dec 13 2011 %H A110559 Pierre CAMI, <a href="/A110559/b110559.txt">Table of n, a(n) for n = 1..10000</a> %e A110559 12*4*4-1=191, 191 and 193 are twin primes so a(4)=12. %o A110559 (PARI) a(n) = my(j=1); while (!(isprime(p=j*n^2-1) && isprime(p+2)), j++); j; \\ _Michel Marcus_, Sep 17 2019 %Y A110559 Cf. A231819. %K A110559 nonn %O A110559 1,1 %A A110559 _Pierre CAMI_, Sep 12 2005 %E A110559 Extended by _Ray Chandler_, Sep 15 2005