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.

A182265 Number of primes p < 10^n such that 4*p+1 is also prime.

This page as a plain text file.
%I A182265 #16 Apr 24 2012 03:14:51
%S A182265 2,9,31,176,1057,7422,53709,407198,3198946,25773602,212205881,
%T A182265 1777532673
%N A182265 Number of primes p < 10^n such that 4*p+1 is also prime.
%t A182265 f[n_] := Length[Select[Range[10^n], PrimeQ[#] && PrimeQ[4#+1]&]]; Table[f[n], {n,7}]
%o A182265 (PARI) a(n)=my(s=0); forprime(p=2,10^n,s+=isprime(4*p+1));s \\ _Charles R Greathouse IV_, Apr 23 2012
%Y A182265 Cf. A023212, A092816.
%K A182265 nonn
%O A182265 1,1
%A A182265 _Enrique Pérez Herrero_, Apr 22 2012
%E A182265 a(10)-a(12) from _Charles R Greathouse IV_, Apr 23 2012