OFFSET
1,1
COMMENTS
A392568 is the main entry for this problem.
LINKS
PROG
(PARI) /* Inefficient brute force, just for illustration. Returns the largest possible m < N if N is a term, or zero if not. [NB: The argument of the function isn't the index n of the terms here, but the corresponding larger number N = A392568(n).]*/
find_m(N)={ my(dn=digits(N), L=#dn, o, dwp); forstep(m=N-1, 2, -1, my(dp=digits(m*N));
if (o = L - #dm=digits(m), dp[1..o] == dn[1..o] || next);
#[0 | t <- dwp = [dm[i]*dn[i+o] | i<-[1..#dm]], t>9] == #dp - #dn || next;
concat([if (t>9, digits(t), [t]) | t <- dwp]) == dp[o+1..-1] && return(m))}
A392618_upto(N) = [m | n <- [2..N], m = find_m(n)] \\ M. F. Hasler, Jan 25 2026
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Thomas Scheuerle, Jan 17 2026
STATUS
approved
