cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A227815 Composite numbers n divisible by their concatenated exponents in prime factorization.

This page as a plain text file.
%I A227815 #22 Feb 19 2023 09:20:02
%S A227815 4,16,22,27,33,55,63,77,143,187,209,222,248,253,256,319,341,407,451,
%T A227815 473,484,517,555,583,649,656,671,737,777,781,803,837,869,913,979,1067,
%U A227815 1111,1133,1152,1177,1199,1221,1243,1397,1441,1443,1507,1529,1639,1661,1727
%N A227815 Composite numbers n divisible by their concatenated exponents in prime factorization.
%C A227815 The numbers 2^(2^m), m = 1, 2,... are in the sequence. A majority of semiprimes of the form 11*p where is p prime different from 11 are in the sequence. The numbers of the form p*111 = p*3*37 where p is prime different from 3 or 37 are in the sequence. In the general case, the numbers of the form n = p_1*p_2*...*p_m*R where the p_k are prime numbers and R is a repunit number (A002275) with q digits "1" and (q-m) prime divisors are in the sequence, for example the numbers of the form n = p_1*p_2*p_3*p_4*11111111 = p_1*p_2*p_3*p_4*11*73*101*137 are in the sequence if the primes p_k are different from 11, 73, 101 or 137. So, 11111111 divides n.
%H A227815 Harvey P. Dale, <a href="/A227815/b227815.txt">Table of n, a(n) for n = 1..1000</a>
%e A227815 248 = 2^3*31 => 31 is the concatenate exponents 3 and 1, so 31 divides 248.
%p A227815 with(numtheory):for n from 1 to 10000 do:x:=ifactors(n):y:=x[2];n1:=nops(y):s:=0:for i from 1 to n1 do:z:=y[i][2]:s:=s+z*10^(n1-i):od:if type(n,prime)=false and irem(n,s)=0 then printf(`%d, `, n):else fi:od:
%t A227815 With[{predicate = And[CompositeQ[#], Divisible[#, FromDigits[Join @@ IntegerDigits@(Last /@ FactorInteger[#])]]] &},
%t A227815 Select[Range[10000], predicate]] (* _Sidney Cadot_, Feb 19 2023 *)
%o A227815 (Python)
%o A227815 from sympy import isprime, factorint
%o A227815 def ok(n): return n > 1 and not isprime(n) and n%int("".join(str(e) for e in factorint(n).values())) == 0
%o A227815 print([k for k in range(1728) if ok(k)]) # _Michael S. Branicky_, Feb 19 2023
%Y A227815 Cf. A002275, A037916, A070529.
%K A227815 nonn,base
%O A227815 1,1
%A A227815 _Michel Lagneau_, Jul 31 2013