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.

A247959 Numbers n such that 39^n + 2 is prime.

This page as a plain text file.
%I A247959 #37 Sep 08 2022 08:46:10
%S A247959 0,1,2,5,6,13,22,93,99,132,217,539,1185,28840,70666,105456,116749
%N A247959 Numbers n such that 39^n + 2 is prime.
%C A247959 Numbers ending with 4 are not in the sequence, since 39^n+2 is divisible by 11 for such numbers. - _Bruno Berselli_ and _M. F. Hasler_, Oct 02 2014
%C A247959 a(18) > 2*10^5. - _Robert Price_, Apr 14 2015
%H A247959 Henri & Renaud Lifchitz, <a href="http://www.primenumbers.net/prptop/searchform.php?form=39%5En%2B2&amp;action=Search">PRP Top Records, Search for 39^n + 2</a>.
%t A247959 Select[Range[0, 2000], PrimeQ[39^# + 2] &]
%o A247959 (Magma) [n: n in [0..500]| IsPrime(39^n+2)];
%o A247959 (PARI) for(n=0,9e9,ispseudoprime(39^n+2)&&print1(n",")) \\ _M. F. Hasler_, Oct 02 2014
%Y A247959 Cf. similar sequences listed in A247957.
%K A247959 nonn,more
%O A247959 1,3
%A A247959 _Vincenzo Librandi_, Sep 28 2014
%E A247959 a(14)-a(17) from _Robert Price_, Apr 14 2015