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!)
A224081 Numbers k such that A112141(k) + 1 is prime. 1
1, 4, 5, 6, 11, 12, 18, 39, 51, 98, 124, 170, 179, 208, 248, 838, 919, 939, 1233, 1352, 2177, 3070, 10714 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
This is the semiprime analog to A014545.
LINKS
EXAMPLE
4*6*9*10+1 = 2161 which is prime.
MATHEMATICA
NextSemiPrime[n_, k_: 1] := Block[{c = 0, sgn = Sign[k]}, sp = n + sgn; While[c < Abs[k], While[ PrimeOmega[sp] != 2, If[sgn < 0, sp--, sp++]]; If[sgn < 0, sp--, sp++]; c++]; sp + If[sgn < 0, 1, -1]]; f[n_] := Times @@ NestList[NextSemiPrime, 2^2, n - 1]; k = 1; lst = {}; While[k < 4651, If[ PrimeQ[f[k] + 1], Print[k]; AppendTo[lst, k]]; k++]; lst
CROSSREFS
Sequence in context: A007606 A284513 A047311 * A347269 A316783 A076138
KEYWORD
nonn,more
AUTHOR
EXTENSIONS
a(23) from Tyler Busby, Feb 12 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 May 9 22:30 EDT 2024. Contains 372354 sequences. (Running on oeis4.)