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!)
A120491 Numbers k such that 22*3^k + 1 is prime. 0
0, 1, 2, 4, 5, 10, 12, 14, 24, 34, 37, 52, 56, 65, 68, 96, 106, 128, 156, 169, 236, 254, 481, 618, 641, 672, 700, 774, 1274, 1625, 1841, 4650, 6030, 8372, 8760, 9173, 12776, 13873, 25214, 25548, 33834 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
EXAMPLE
If k=96 then 22*3^k + 1 is a prime with 48 digits.
MATHEMATICA
Select[Range[0, 2000], PrimeQ[22*3^# + 1] &] (* Stefan Steinerberger, Aug 06 2006 *)
PROG
(Magma) [ n: n in [0..3000] | IsPrime(22*3^n + 1) ] // Vincenzo Librandi, Jan 31 2011
(PARI) is(n)=ispseudoprime(22*3^n+1) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A003306.
Sequence in context: A285697 A047611 A325095 * A177186 A260385 A355149
KEYWORD
nonn,more
AUTHOR
Parthasarathy Nambi, Aug 04 2006
EXTENSIONS
More terms from Stefan Steinerberger, Aug 06 2006
a(32)-a(41) from Michael S. Branicky, Jul 14 2023
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 April 18 22:18 EDT 2024. Contains 371782 sequences. (Running on oeis4.)