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.

A339935 Primes p such that p+(p^2-1)/6 is a square.

This page as a plain text file.
%I A339935 #9 Dec 23 2020 17:12:45
%S A339935 5,29,73,313,71477281,297316321,271351716183549149,645761700848255113,
%T A339935 233017713343294737292495403306881,
%U A339935 521760494347510297716737304478850311229
%N A339935 Primes p such that p+(p^2-1)/6 is a square.
%C A339935 p + (p^2-1)/6 is the square of a prime for primes p = 5, 29 and 73.  Are there any others?
%H A339935 Robert Israel, <a href="/A339935/b339935.txt">Table of n, a(n) for n = 1..15</a>
%e A339935 a(3)=73 is a term because 73 is prime and 73+(73^2-1)/6 = 961 = 31^2 is a square.
%p A339935 f:= gfun:-rectoproc({a(i+4)-10*a(i+2)+a(i)=24,a(0)=1,a(1)=1,a(2)=5,a(3)=29},a(i),remember):
%p A339935 select(isprime, map(f, [$1..100]));
%Y A339935 Cf. A339917, A339945.
%K A339935 nonn
%O A339935 1,1
%A A339935 _J. M. Bergot_ and _Robert Israel_, Dec 23 2020