A192242 Positions of primes within Dana Scott's sequence (A048736).
4, 5, 6, 7, 9, 11, 14, 19, 25, 27, 38, 208, 289, 433, 529, 1069, 1163, 1801, 5185, 5630, 8148, 9731, 11124, 23787, 46056, 64182, 82629, 92124, 97221
Offset: 1
Keywords
Programs
-
Perl
use ntheory ":all"; use Math::GMPz; 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]); } # Dana Jacobsen, Apr 30 2015
Extensions
More terms from Dana Jacobsen, Apr 30 2015
Comments