The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A335799 a(n) is the least number k such that 3^k-2 and 3^k+2 are the product of n prime factors counted with multiplicity. 0
2, 12, 18, 38, 79, 75, 153, 313 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A001222(3^k-2) = A001222(3^k+2).
a(9) >= 521, a(10) >= 368, a(11) >= 339, a(12) >= 551. - Chai Wah Wu, Sep 23 2020
LINKS
EXAMPLE
a(1) = 2 because 3^2-2 = 7 and 3^2+2 = 11 are both prime.
MATHEMATICA
m = 6; s = Table[0, {m}]; c = 0; k = 1; While[c < m, n = PrimeOmega[3^k - 2]; If[n <= m && s[[n]] == 0, n2 = PrimeOmega[3^k + 2]; If[n2 == n, s[[n]] = k; c++]]; k++]; s (* Amiram Eldar, Sep 18 2020 *)
PROG
(PARI) a(n) = {my(k=1); while((bigomega(3^k-2) != n) || (bigomega(3^k+2) != n), k++); k; } \\ Michel Marcus, Sep 14 2020
CROSSREFS
Sequence in context: A281353 A257256 A325767 * A190044 A066238 A101074
KEYWORD
nonn,more
AUTHOR
Zak Seidov, Sep 13 2020
EXTENSIONS
a(8) from Daniel Suteu, Sep 14 2020
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 May 12 22:54 EDT 2024. Contains 372497 sequences. (Running on oeis4.)