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.

A192242 Positions of primes within Dana Scott's sequence (A048736).

This page as a plain text file.
%I A192242 #12 May 02 2015 14:23:00
%S A192242 4,5,6,7,9,11,14,19,25,27,38,208,289,433,529,1069,1163,1801,5185,5630,
%T A192242 8148,9731,11124,23787,46056,64182,82629,92124,97221
%N A192242 Positions of primes within Dana Scott's sequence (A048736).
%C A192242 A048736(a(n)) = A192241(n).
%C A192242 Larger entries are probable primes (BPSW plus random-base M-R).  Values below a(n)=8148 have been proven prime. - _Dana Jacobsen_, Apr 30 2015
%o A192242 (Perl)
%o A192242 use ntheory ":all";
%o A192242 use Math::GMPz;
%o A192242 my @a = map { Math::GMPz->new($_) } (1,1,1,1); for (1..100000) {  push @a, ($a[-2]+$a[-1]*$a[-3])/$a[-4];  say ++$i," $#a" if is_prime($a[-1]); }
%o A192242 # _Dana Jacobsen_, Apr 30 2015
%K A192242 nonn
%O A192242 1,1
%A A192242 _Reinhard Zumkeller_, Jul 01 2011
%E A192242 More terms from _Dana Jacobsen_, Apr 30 2015