The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A344263 Numbers m such that 3^(2m+1) - 3^m + 1 is prime. 1
 0, 3, 4, 11, 35, 56, 88, 104, 476, 1367, 1707, 2472, 22232, 25260 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,2 COMMENTS a(14) > 30000. LINKS MAPLE for m from 0 to 3000 do if isprime(3^(2*m + 1) - 3^m + 1) then print(m); end if; end do; MATHEMATICA Do[If[PrimeQ[3^(2 m + 1) - 3^m + 1], Print[m]], {m, 0, 3000}] PROG (PARI) for(m=0, 3e3, if(isprime(3^(2*m+1)-3^m+1), print1(m", "))) (SageMath) for m in range(3000):     if is_prime(3^(2*m + 1) - 3^m + 1):         print(m) CROSSREFS Cf. A344170. Sequence in context: A084378 A038559 A242044 * A275309 A119042 A042273 Adjacent sequences:  A344260 A344261 A344262 * A344264 A344265 A344266 KEYWORD nonn,more AUTHOR Reza K Ghazi, May 13 2021 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.

Last modified September 24 06:04 EDT 2021. Contains 347623 sequences. (Running on oeis4.)