login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A057871 Numbers k such that 3*13^k + 2 is prime. 1

%I

%S 0,1,2,22,25,35,49,95,105,107,302,351,1907,3435,5051,6885

%N Numbers k such that 3*13^k + 2 is prime.

%C a(17) > 10000. - _Jinyuan Wang_, Feb 02 2020

%t Do[ If[ PrimeQ[ 3*13^n + 2 ], Print[ n ] ], {n, 0, 1500} ]

%t Select[Range[0, 4000], PrimeQ[(3*13^# + 2)] &] (* _Vincenzo Librandi_, Sep 28 2012 *)

%o (PARI) is(n)=ispseudoprime(3*13^n+2) \\ _Charles R Greathouse IV_, Jun 13 2017

%Y Cf. A058025 (3*13^k - 2 is prime).

%K nonn,more

%O 1,3

%A _Robert G. Wilson v_, Nov 15 2000

%E a(13)-a(14) from _Vincenzo Librandi_, Sep 28 2012

%E a(15)-a(16) from _Jinyuan Wang_, Feb 02 2020

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 25 14:54 EDT 2021. Contains 347657 sequences. (Running on oeis4.)