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!)
A297361 Numbers k such that (3^lambda(k) - 1)/k is prime, where lambda(k) is the Carmichael lambda function (A002322). 0
4, 16, 40, 56, 160, 7280 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The corresponding primes are 2, 5, 2, 13, 41, 73.
LINKS
EXAMPLE
4 is in the sequence since lambda(4) = 2 and (3^2 - 1)/4 = 2 is prime.
MATHEMATICA
aQ[n_] := PrimeQ[(3^CarmichaelLambda[n]-1)/n]; a={}; Do[If[aQ[k], AppendTo[a, k]], {k, 1, 10000}]; a
PROG
(PARI) isok(n) = (denominator(p=(3^lcm(znstar(n)[2])-1)/n)==1) && isprime(p); \\ Michel Marcus, Dec 29 2017
CROSSREFS
Cf. A002322.
Sequence in context: A121318 A152133 A371345 * A210440 A329892 A220499
KEYWORD
nonn,more
AUTHOR
Amiram Eldar, Dec 29 2017
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 23 07:16 EDT 2024. Contains 371905 sequences. (Running on oeis4.)