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.

A157934 Numbers m such that m^2+1 is prime and m^2-7 = prevprime(m^2) (= A007917(m^2)).

This page as a plain text file.
%I A157934 #7 Mar 19 2020 15:18:22
%S A157934 54,66,90,156,240,270,306,474,570,576,636,750,780,1080,1320,1350,2034,
%T A157934 2154,2406,2700,2760,3204,3240,3306,3480,3516,3756,3774,3984,4056,
%U A157934 4086,4140,4146,4176,4716,4734,4794,5154,5370,5424,5550,5664,5700,5850,5856
%N A157934 Numbers m such that m^2+1 is prime and m^2-7 = prevprime(m^2) (= A007917(m^2)).
%C A157934 The corresponding primes are listed in A157183 resp. A157935.
%H A157934 Harvey P. Dale, <a href="/A157934/b157934.txt">Table of n, a(n) for n = 1..1000</a>
%t A157934 Select[Range[6000],PrimeQ[#^2+1]&&#^2-7==NextPrime[#^2,-1]&] (* _Harvey P. Dale_, Mar 19 2020 *)
%o A157934 (PARI) forstep(m=2,9999,2, isprime(m^2+1) & precprime(m^2)==m^2-7 & print1(m,","))
%Y A157934 Cf. A157183, A028883, A028882, A005574, A157935.
%K A157934 nonn
%O A157934 1,1
%A A157934 _M. F. Hasler_, Mar 18 2009