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!)
A291853 Numbers n such that (3^n - (-2)^n)/5 is prime. 0

%I #16 Sep 08 2022 08:46:19

%S 3,4,7,11,83,149,223,599,647,1373,8423

%N Numbers n such that (3^n - (-2)^n)/5 is prime.

%C a(12) > 65535. Presumably, a(12) = 149497 and a(13) = 388897.

%e 4 is in this sequence because (3^4 - (-2)^4)/5 = 13 is prime.

%t Select[Range[2000], PrimeQ[(3^# - (-2)^#)/5] &] (* _Michael De Vlieger_, Dec 09 2017 *)

%o (Magma) [n: n in [1..1000] | IsPrimePower((3^n-(-2)^n) div 5)];

%Y Supersequence A057469.

%Y Cf. A107036 (numbers n such that (2^n-(-1)^n)/3 is prime).

%K nonn,more

%O 1,1

%A _Juri-Stepan Gerasimov_, Sep 04 2017

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 August 4 15:21 EDT 2024. Contains 374923 sequences. (Running on oeis4.)