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!)
A058025 Numbers k such that 3*13^k - 2 is prime. 1
1, 5, 11, 16, 59, 239, 299, 2524, 2695, 7657, 14028, 24104, 28068 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
3(13^5) - 2 = 1113877, which is a prime number, hence 5 is in the sequence.
3(13^7) - 2 = 188245549, but that is divisible by 211, hence 7 is NOT a term.
MATHEMATICA
Do[ If[ PrimeQ[ 3*13^n - 2 ], Print[ n ] ], {n, 0, 1500} ] (* RGWv *)
Select[Range[0, 4000], PrimeQ[(3*13^# - 2)] &] (* Vincenzo Librandi, Sep 28 2012 *)
PROG
(PARI) is(n)=ispseudoprime(3*13^n-2) \\ Charles R Greathouse IV, Jun 13 2017
CROSSREFS
Cf. A057871 (3*13^k + 2 is prime).
Sequence in context: A041046 A041117 A041491 * A042121 A123082 A084037
KEYWORD
nonn,more,changed
AUTHOR
Robert G. Wilson v, Nov 15 2000
EXTENSIONS
a(8)-a(9) from Vincenzo Librandi, Sep 28 2012
a(10) from Bruno Berselli, Sep 28 2012
a(11) from Jinyuan Wang, Feb 02 2020
a(12) from Michael S. Branicky, Jun 29 2023
a(13) from Michael S. Branicky, Jul 28 2024
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 4 06:59 EDT 2024. Contains 374905 sequences. (Running on oeis4.)