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.

A119753 Prime numbers in their order of occurrence and generated by A119751, the sequence of odd numbers defined recursively by a(1)=1 and a(i) + a(j) + 1 is prime for all i,j.

This page as a plain text file.
%I A119753 #3 Mar 30 2012 18:36:04
%S A119753 3,5,7,11,13,19,71,73,79,139,431,433,439,499,859,4091,4093,4099,4159,
%T A119753 4519,8179,86531,86533,86539,86599,86959,90619,173059,513101,513103,
%U A119753 513109,513169,513529,517189,599629,1026199,913571,913573,913579,913639
%N A119753 Prime numbers in their order of occurrence and generated by A119751, the sequence of odd numbers defined recursively by a(1)=1 and a(i) + a(j) + 1 is prime for all i,j.
%F A119753 Let a(n) be the sequence defined recursively by a(1)=1 and a(n) is the first odd number greater than a(n-1) such that 2*a(n)+1 is prime and a(i) + a(n) + 1 is prime for all i<=n-1. Then p(n) is the n-th prime in the lexicographic order a(i) + a(j) + 1, i>=j.
%e A119753 a(1)=1, a(2)=3 so 1+1+1=3, 1+3+1=5, 3+3+1=7 so the first three elements are 3, 5, 7.
%p A119753 OP:=[1]: P:=[3]: for w to 1 do for n from 0 to 12^6 do s:=6*n+3; Q:=map(z->s+z+1,[op(OP),s]); if andmap(isprime,Q) then OP:=[op(OP),s]; P:=[op(P),op(Q)]; print(s); print(Q); fi; od od; OP; P;
%K A119753 nonn
%O A119753 1,1
%A A119753 _Walter Kehowski_, Jun 17 2006, Jun 19 2006, Jun 25 2006