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.

A162576 Primes of the form x^2+2^x+y^2+2^y, with x and y nonnegative.

This page as a plain text file.
%I A162576 #3 Mar 31 2012 12:38:25
%S A162576 11,89,103,157,277,337,601,1181,1301,2269,4243,4297,8369,8461,8681,
%T A162576 12601,18749,65809,67961,135601,264637,524681,524969,525773,1049569,
%U A162576 2098717,4326149,8389237,25166929,33555089,33555377,34604033,67109543
%N A162576 Primes of the form x^2+2^x+y^2+2^y, with x and y nonnegative.
%t A162576 f[x_,y_]:=x^2+2^x+y^2+2^y;lst={};Do[Do[p=f[x,y];If[PrimeQ[p],AppendTo[lst,p]],{y,4*5!}],{x,4*5!}];Take[Union[lst],3*4! ]
%o A162576 (PARI) for(x=2,100,for(y=1,x-1,p=x^2+2^x+y^2+2^y;if(isprime(p),print1(p","))))
%Y A162576 Cf. A162573, A162574, A162575
%K A162576 nonn
%O A162576 1,1
%A A162576 _Vladimir Joseph Stephan Orlovsky_, Jul 06 2009
%E A162576 Program by _Charles R Greathouse IV_, Oct 12 2009