login
A390475
Composite numbers k such that k is a substring of A067599(k).
4
15, 232, 1111, 1131, 3171, 7112, 8571, 11110, 11371, 17119, 22564, 31291, 37127, 53159, 131131, 190911, 317169, 1283122, 1712914, 3141133, 5131120, 11101112, 12711811, 14713491, 19090911, 19114912, 31311891, 35911069, 71119711, 99119863, 171111171, 233451720
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
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