OFFSET
1,1
COMMENTS
The property is trivially true if k is a prime.
[Needs a b-file! - N. J. A. Sloane, Dec 30 2025]
LINKS
Scott R. Shannon, Table of n, a(n) for n = 1..41
EXAMPLE
15 is a term since 15 = 3^1 * 5^1 and 15 is a substring of 3151.
1131 is a term since 1131 = 3^1 * 13^1 * 29^1 and 1131 is a substring of 31131291.
22564 is a term since 22564 = 2^2 * 5641^1 and 22564 is a substring of 2256411.
MATHEMATICA
Select[Range[2*10^6], CompositeQ[#]&&SequenceCount[Flatten[IntegerDigits/@Flatten[FactorInteger[#]]], IntegerDigits[#]]>0&] (* The program generates the first 19 terms of the sequence. *) (* Harvey P. Dale, Jan 10 2026 *)
PROG
(Python)
from sympy import factorint, isprime
def ok(n): return n and not isprime(n) and str(n) in "".join(str(p)+str(e) for p, e in factorint(n).items())
print([k for k in range(10**6) if ok(k)]) # Michael S. Branicky, Dec 11 2025
(PARI) f(n) = eval(concat(concat([""], concat(Vec(factor(n)~))~))); \\ A067599
isok(k) = #strsplit(Str(f(k)), Str(k)) >=2;
forcomposite (n=2, 10^7, if (isok(n), print1(n, ", "))) \\ Michel Marcus, Dec 31 2025
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Scott R. Shannon, Dec 10 2025
STATUS
approved
