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.

A192594 Monotonic ordering of set S generated by these rules: if x and y are in S and 5x+2y is a prime, then 5x+2y is in S, and 1 is in S.

This page as a plain text file.
%I A192594 #4 Mar 30 2012 18:57:36
%S A192594 1,7,19,37,43,73,79,97,109,151,163,181,193,199,223,229,241,271,307,
%T A192594 313,331,337,367,373,379,397,409,421,433,439,457,463,487,499,523,541,
%U A192594 547,571,577,601,613,619,631,643,661,673,691,709,727,739,751,757,769
%N A192594 Monotonic ordering of set S generated by these rules:  if x and y are in S and 5x+2y is a prime, then 5x+2y is in S, and 1 is in S.
%C A192594 See the discussions at A192476 and A192580.
%t A192594 start = {1}; primes = Table[Prime[n], {n, 1, 1000}];
%t A192594 f[x_, y_] := If[MemberQ[primes, 5 x + 2 y], 5 x + 2 y]
%t A192594 b[x_] :=
%t A192594   Block[{w = x},
%t A192594    Select[Union[
%t A192594      Flatten[AppendTo[w,
%t A192594        Table[f[w[[i]], w[[j]]], {i, 1, Length[w]}, {j, 1,
%t A192594          Length[w]}]]]], # < 2000 &]];
%t A192594 t = FixedPoint[b, start]    (* A192594 *)
%t A192594 PrimePi[t]    (* A192595 *)
%Y A192594 Cf. A192595, A192476, A192580.
%K A192594 nonn
%O A192594 1,2
%A A192594 _Clark Kimberling_, Jul 05 2011