OFFSET
0,2
EXAMPLE
MATHEMATICA
d[n_] := DivisorSum[n, 1 &, CompositeQ[#] && NextPrime[#] + NextPrime[#, -1] == 2*# &]; seq[len_] := Module[{s = Table[0, {len}], c = 0, n = 1, i}, While[c < len, i = d[n] + 1; If[i <= len && s[[i]] == 0, c++; s[[i]] = n]; n++]; s]; seq[44] (* Amiram Eldar, Dec 11 2024 *)
PROG
(Magma) ipr:=func<n|n ge 3 and not IsPrime(n) and 2*n eq NextPrime(n)+PreviousPrime(n)>; a:=[]; for n in [0..43] do k:=1; while #[d:d in Divisors(k)|ipr(d)] ne n do k:=k+1; end while; Append(~a, k); end for; a;
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Marius A. Burtea, Dec 05 2024
STATUS
approved