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!)
A006553 Numbers k such that k*3^k - 1 is prime.
(Formerly M1575)
14
1, 2, 6, 10, 18, 40, 46, 86, 118, 170, 1172, 1698, 1810, 2268, 4338, 18362, 72662, 88392, 94110, 161538, 168660, 292340, 401208, 560750, 1035092 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
REFERENCES
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
LINKS
MATHEMATICA
Select[Range[10000], PrimeQ[# 3^# - 1] &] (* Vincenzo Librandi, Dec 02 2015 *)
PROG
(Magma) [n: n in [0..1420] | IsPrime(n*3^n-1)]; // Vincenzo Librandi, Dec 02 2015
(PARI) is(n)=ispseudoprime(n*3^n-1) \\ Charles R Greathouse IV, Feb 20 2017
CROSSREFS
Sequence in context: A095357 A095358 A084481 * A054273 A127567 A360420
KEYWORD
hard,nonn
AUTHOR
EXTENSIONS
More terms from Jud McCranie
More terms from Herman Jamke (hermanjamke(AT)fastmail.fm), Jan 05 2008
a(24)-a(25) from Harvey link by Ray Chandler, Apr 10 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 April 29 02:29 EDT 2024. Contains 372097 sequences. (Running on oeis4.)