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 A157935 #7 Jun 14 2020 17:01:26 %S A157935 2917,4357,8101,24337,57601,72901,93637,224677,324901,331777,404497, %T A157935 562501,608401,1166401,1742401,1822501,4137157,4639717,5788837, %U A157935 7290001,7617601,10265617,10497601,10929637,12110401,12362257,14107537,14243077 %N A157935 Primes of the form m^2+1 such that m^2-7 = prevprime(m^2) (= A007917(m^2)). %C A157935 A subsequence of A005574. The values for m are listed in A157934, the next lower prime in A157183. %H A157935 Harvey P. Dale, <a href="/A157935/b157935.txt">Table of n, a(n) for n = 1..1000</a> %F A157935 a(n) = A157934(n)^2+1 = A157183(n)+8 %t A157935 Select[Range[4000]^2+1,PrimeQ[#]&&NextPrime[#,-1]==#-8&] (* _Harvey P. Dale_, Jun 14 2020 *) %o A157935 (PARI) forstep(m=2,9999,2, isprime(m^2+1) & precprime(m^2)==m^2-7 & print1(m^2+1,",")) %Y A157935 Cf. A157183, A028883, A028882, A005574, A001912, A157934. %K A157935 nonn %O A157935 1,1 %A A157935 _M. F. Hasler_, Mar 18 2009