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.

A375170 Primes that can be expressed as the sum of a prime and twice a positive square.

This page as a plain text file.
%I A375170 #26 Aug 16 2024 20:49:15
%S A375170 5,7,11,13,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,
%T A375170 103,107,109,113,127,131,139,149,151,157,163,167,173,179,181,191,193,
%U A375170 197,199,211,223,229,233,239,241,251,257,263,269,271,277,281,283,293,307
%N A375170 Primes that can be expressed as the sum of a prime and twice a positive square.
%D A375170 Albert H. Beiler, Recreations in the theory of numbers, New York, Dover, (2nd ed.) 1966. See p. 226.
%e A375170 23 is a term since it equals 5 + 2*3^2.
%t A375170 a={}; For[i=1, i<=63, i++,For[j=1, (d=Prime[i]-2j^2)>0, j++,If[PrimeQ[d]&&!MemberQ[a,Prime[i]],AppendTo[a,Prime[i]]]]]; a
%Y A375170 Complement of A042978 in A000040.
%Y A375170 Cf. A001105.
%K A375170 nonn
%O A375170 1,1
%A A375170 _Stefano Spezia_, Aug 16 2024