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!)
A317887 Numbers k such that 4^k - 3^k + 2^k is prime. 0
1, 2, 4, 18, 56, 60, 88, 1288, 1784, 3406, 9250, 11968, 36216, 57206 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

COMMENTS

1 is the only odd number in this sequence.

a(15) > 65432.

LINKS

Table of n, a(n) for n=1..14.

EXAMPLE

4^2 - 3^2 + 2^2 = 16 - 9 + 4 = 11 is prime.

MATHEMATICA

Select[Range[0, 5000], PrimeQ[4^# - 3^# + 2^#] &]

PROG

(PARI) for(n=1, 5000, if(ispseudoprime(4^n-3^n+2^n), print1(n, ", ")))

CROSSREFS

Cf. A083324, A138699.

Sequence in context: A318249 A093045 A330432 * A083694 A179040 A241685

Adjacent sequences:  A317884 A317885 A317886 * A317888 A317889 A317890

KEYWORD

nonn,more

AUTHOR

Jinyuan Wang, Aug 09 2018

EXTENSIONS

a(13)-a(14) from Giovanni Resta, Aug 10 2018

STATUS

approved

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 17 03:11 EDT 2022. Contains 356180 sequences. (Running on oeis4.)