OFFSET
1,1
COMMENTS
The sequence contains the primary Carmichael numbers A324316.
The sequence is infinite. If f(x) counts such numbers m below x, then f(x) > 1/11 x^(1/3) - 1/3 for x >= 1.
A number m > 1 has a strict s-decomposition if there exists a decomposition in n proper factors g_k with exponents e_k >= 1 (the factors g_k being strictly increasing but not necessarily coprime) such that
m = g_1^e_1 * ... * g_n^e_n, where s_{g_k}(m) = g_k for all k,
and s_g(m) gives the sum of the base-g digits of m.
A term m has the following properties:
m must have at least 2 factors g_k. If m = g_1^e_1 * g_2^e_2 with exactly two factors, then e_1 + e_2 >= 3.
Each factor g_k of m satisfies the inequalities 1 < g_k < m^(1/(ord_{g_k}(m)+1)) <= sqrt(m), where ord_g(m) gives the maximum exponent e such that g^e divides m.
See Kellner 2019.
LINKS
Bernd C. Kellner, Table of n, a(n) for n = 1..254
Bernd C. Kellner, On primary Carmichael numbers, Integers 22 (2022), Article #A38, 39 pp.; arXiv:1902.11283 [math.NT], 2019.
EXAMPLE
Since 576 = 2^4 * 6^2 with s_2(576) = 2 and s_6(576) = 6, 576 is a member.
MATHEMATICA
s[n_, g_] := If[n < 1 || g < 2, 0, Plus @@ IntegerDigits[n, g]];
HasDecompS[m_] := Module[{E0, EV, G, R, k, n, v},
If[m < 1 || !CompositeQ[m], Return[False]];
G = Select[Divisors[m], s[m, #] == # &];
n = Length[G]; If[n < 2, Return[False]];
E0 = Array[0 &, n]; EV = Array[v, n];
R = Solve[Product[G[[k]]^EV[[k]], {k, 1, n}] == m && EV >= E0, EV, Integers]; Return[R != {}]];
Select[Range[10^4], HasDecompS[#] &]
CROSSREFS
KEYWORD
nonn,base,changed
AUTHOR
Bernd C. Kellner, Feb 28 2019
STATUS
approved