login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

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

%I #12 Dec 14 2019 08:14:20

%S 0,1,2,3,5,6,7,10,39,99,115,158,697,966,2602,2899,4057,5226,8279,17946

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

%C a(21) > 20000. - _Jinyuan Wang_, Dec 14 2019

%t Do[ If[ PrimeQ[ 3*7^n + 2 ], Print[n] ], {n, 1, 6000} ]

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

%Y Cf. A059091 (3*7^k-2 is prime).

%K nonn,more

%O 1,3

%A _Robert G. Wilson v_, Feb 12 2001

%E a(19)-a(20) from _Jinyuan Wang_, Dec 14 2019

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 09:18 EDT 2024. Contains 371935 sequences. (Running on oeis4.)