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!)
A271884 Numbers n such that 4^n-3^(n-1) is prime. 6
1, 2, 4, 6, 10, 12, 30, 42, 54, 166, 264, 886, 1476, 8412, 9576, 12426, 24076 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
a(18) > 10^5.
LINKS
EXAMPLE
4 is a member since 4^4 - 3^3 = 256 - 27 = 229 which is a prime number.
MATHEMATICA
Select[Range[0, 100000], PrimeQ[4^# - 3^(# - 1)] &]
PROG
(PARI) lista(nn) = for(n=1, nn, if(ispseudoprime(4^n-3^(n-1)), print1(n, ", "))); \\ Altug Alkan, Apr 16 2016
CROSSREFS
Sequence in context: A357110 A100195 A032396 * A305836 A233349 A233556
KEYWORD
nonn,more
AUTHOR
Robert Price, Apr 16 2016
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 July 27 16:42 EDT 2024. Contains 374650 sequences. (Running on oeis4.)