# Greetings from The On-Line Encyclopedia of Integer Sequences! http://oeis.org/ Search: id:a247962 Showing 1-1 of 1 %I A247962 #23 Sep 08 2022 08:46:10 %S A247962 0,1,5,6,15,24,25,66,72,309,330,594,1000,1142,1882,2482,2725,30106, %T A247962 65176,85334 %N A247962 Numbers n such that 51^n + 2 is prime. %C A247962 Numbers ending with 8 are not in the sequence. - _Bruno Berselli_, Oct 02 2014 %C A247962 a(21) > 2*10^5. - _Robert Price_, Jul 07 2015 %H A247962 Henri & Renaud Lifchitz, PRP Top Records, Search for 51^n+2. %p A247962 A247962:=n->`if`(isprime(51^n+2),n,NULL): seq(A247962(n),n=0..500); # _Wesley Ivan Hurt_, Oct 02 2014 %t A247962 Select[Range[0, 2000], PrimeQ[51^# + 2] &] %o A247962 (Magma) [n: n in [0..300]| IsPrime( 51^n + 2 )]; %o A247962 (PARI) is(n)=ispseudoprime(51^n+2) \\ _Charles R Greathouse IV_, Jun 06 2017 %Y A247962 Cf. similar sequences listed in A247957. %K A247962 nonn,more %O A247962 1,3 %A A247962 _Vincenzo Librandi_, Oct 02 2014 %E A247962 a(16)-a(20) from _Robert Price_, Jul 07 2015 # Content is available under The OEIS End-User License Agreement: http://oeis.org/LICENSE