login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A176512
Indices of products of 2 single (or isolated or non-twin) primes in the semiprimes.
1
1, 16, 25, 33, 35, 45, 52, 55, 58, 62, 76, 82, 84, 100, 104, 107, 111, 133, 137, 143, 155, 158, 162, 164, 174, 183, 188, 194, 198, 202, 214, 218, 222, 225, 229, 231, 234, 241, 243, 249, 257, 263, 265, 269, 274, 281, 287, 292, 294, 299, 301, 304, 319, 320, 321
OFFSET
1,2
FORMULA
A001358(k) = A176312(a(n)).
a(n) = A174956(A176312(n)). - R. J. Mathar, May 02 2010
MAPLE
From R. J. Mathar, May 02 2010: (Start)
isA007510 := proc(n) isprime(n) and not isprime(n+2) and not isprime(n-2) ; simplify(%) ; end proc:
isA176312 := proc(n) for d in numtheory[divisors](n) do if isA007510(d) and isA007510(n/d) then return true; end if; end do: return false; end proc:
A176312 := proc(n) option remember; if n = 1 then 4; else for a from procname(n-1)+1 do if isA176312(a) then return a; end if; end do: end if; end proc:
A174956 := proc(p) option remember ; for n from 1 do if A001358(n) = p then return n; elif A001358(n) > p then return 0 ; end if; end do: end proc:
A176512 := proc(n) A174956(A176312(n)) ; end proc:
seq(A176512(n), n=1..120) ; (End)
CROSSREFS
Sequence in context: A111026 A124186 A274240 * A001033 A100647 A375116
KEYWORD
nonn
AUTHOR
EXTENSIONS
Entries checked by R. J. Mathar, May 02 2010
STATUS
approved