OFFSET
2,3
COMMENTS
This is not A008481(n), n>=2, which starts similarly, but differs, beginning with n=24.
LINKS
Robert Israel, Table of n, a(n) for n = 2..10000
FORMULA
a(n) <= pa(Length( A127668(n))), n>=2. Length gives the number of digits and pa(k):=A000041(k) (partition numbers). (It was originally claimed that this is equality, but that is not correct. - Franklin T. Adams-Watters, May 21 2014)
EXAMPLE
MAPLE
f:= proc(n) local S;
nops(g(sprintf("%d", n)))
end proc:
g:= proc(s) option remember;
local S, m, k1;
if s[1] = "0" then return {} fi;
S:= {[parse(s)]};
for m from 1 to length(s)-1 do
k1:= parse(s[1..m]);
S:= S union map(t -> [k1, op(t)], select(r -> r[1] <= k1, procname(s[m+1..-1])));
od;
S;
end proc:
h:= proc(n) local F;
F:= map(t -> numtheory:-pi(t[1])$t[2], sort(ifactors(n)[2], (a, b) -> a[1] > b[1]));
parse(cat(op(F)))
end proc:
seq(f(h(i)), i=2..100); # Robert Israel, Dec 08 2024
CROSSREFS
KEYWORD
nonn,easy,base
AUTHOR
Wolfdieter Lang Jan 23 2007
EXTENSIONS
Edited by Franklin T. Adams-Watters, May 21 2014
Corrected by Robert Israel, Dec 08 2024
STATUS
approved