A239060 Nonprime numbers whose divisors all appear as a substring in the number's decimal expansion.
1, 125, 17692313
Offset: 1
Examples
The divisors of 17692313 are {1, 23, 769231, 17692313}; it can be seen that all of them occur as a substring in 17692313, therefore 17692313 is in this sequence.
Links
Programs
-
PARI
is(n)=!isprime(n)&&is_A239058(n)
-
PARI
overlap(long,short)=my(D=10^#digits(short)); while(long>=short, if(long%D==short,return(1));long\=10); 0 is(n)=my(d=divisors(n)); #d!=2 && !forstep(i=#d-1,1,-1, if(!overlap(n,d[i]), return(0))) \\ Charles R Greathouse IV, Mar 09 2014
Comments