login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A265121 Integers n such that n*3^n + 2 is prime. 1
0, 1, 3, 5, 11, 15, 17, 153, 169, 273, 317, 373, 923, 1403, 1969, 2349, 7809, 10313, 12291, 24865 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,3

COMMENTS

Initial corresponding primes are 2, 5, 83 and 1217.

How do this sequence and A006552 compare asymptotically?

LINKS

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

EXAMPLE

a(3) = 3 because 3^3 * 3 + 2 = 83 is prime.

MATHEMATICA

Select[Range[0, 10000], PrimeQ[# 3^# + 2] &] (* Vincenzo Librandi, Dec 02 2015 *)

PROG

(PARI) for(n=0, 1e6, if(ispseudoprime(3^n*n + 2), print1(n, ", ")));

(MAGMA) [n: n in [0..400] | IsPrime(n*3^n+2)]; // Vincenzo Librandi, Dec 02 2015

CROSSREFS

Cf. A006552, A036290, A182373.

Sequence in context: A316092 A302590 A316151 * A281575 A105772 A244520

Adjacent sequences:  A265118 A265119 A265120 * A265122 A265123 A265124

KEYWORD

nonn,hard,more

AUTHOR

Altug Alkan, Dec 01 2015

EXTENSIONS

a(1) = 0 added by Vincenzo Librandi, Dec 02 2015

STATUS

approved

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 July 19 03:54 EDT 2019. Contains 325144 sequences. (Running on oeis4.)