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.

A088429 Number of primes in arithmetic progression starting with 31 and with d=2n.

This page as a plain text file.
%I A088429 #4 Mar 30 2012 17:26:10
%S A088429 1,1,3,1,2,2,1,2,1,1,2,1,1,2,2,1,1,4,1,2,2,1,1,3,1,2,1,1,2,1,1,1,4,1,
%T A088429 2,2,1,2,2,1,2,1,1,1,1,1,1,3,1,2,1,1,2,2,1,1,1,1,2,3,1,1,4,1,1,2,1,2,
%U A088429 1,1,2,1,1,2,3,1,1,1,1,2,2,1,2,3,1,1,1,1,1,2,1,1,1,1,1,2,1,2,2,1
%N A088429 Number of primes in arithmetic progression starting with 31 and with d=2n.
%C A088429 Arithmetic progression is stopped when next term is not prime. E.g. for n=3 (d=6), a=3, that is 31,37,43 are prime, while next term, 49, is not prime.
%t A088429 bb={}; Do[s=1; Do[If[PrimeQ[31+k*d], s=s+1, bb={bb, s}; Break[]], {k, 10}], {d, 2, 200, 2}]; Flatten[bb]
%Y A088429 Cf. A088420, A088421, A088422, A088423, A088424, A088425, A088426, A088427, A088428.
%K A088429 easy,nonn
%O A088429 1,3
%A A088429 _Zak Seidov_, Sep 29 2003