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 A214518 #6 Aug 06 2012 19:48:16 %S A214518 1,2,5,7,8,10,17,20,23,44,50,56,65,76,106,144,165,173 %N A214518 Record differences between the numbers n such that 4*n^2 + 1 is prime. %e A214518 a(1) = 1 because 4*1^2 + 1 = 5 and 4*2^2 + 1 = 17 are primes. %e A214518 a(2) = 2 because 4*3^2 + 1 = 37 is prime, 4*4^2 + 1 = 65 is composite, and 4*5^2 + 1 = 101 is prime. %e A214518 a(3) = 5 because 4*13^2 + 1 is prime, 4*n^2 + 1 is composite for n = 14..17, and 4*18^2 + 1 is prime. %t A214518 n = 1; last = 1; t = {1}; While[Length[t] < 15, n++; p = 1 + 4*n^2; If[PrimeQ[p], If[n - last > t[[-1]], AppendTo[t, n - last]]; last = n]]; t %Y A214518 Cf. A121326 (primes of the form 1+4*n^2), A001912 (values of n). %Y A214518 Cf. A214517 (differences), A214519 (where record differences occur). %K A214518 nonn,hard,more %O A214518 1,2 %A A214518 _T. D. Noe_, Aug 06 2012