OFFSET
1,1
COMMENTS
Sequence A292683 lists the numbers n which are divisible by A217657(n), i.e., by n with its first digit removed.
We exclude k with trailing 0's (just like in A292683) because if k*N has the property, then 10*k*N trivially also has the property.
Is there any number for which there are more than 9 possible k-values?
All of the k-values are listed in the table A292685.
EXAMPLE
PROG
(PARI) (A217657(n)=n%10^logint(n, 10)); A292684(n, N=A292683(n), r=N/A217657(N), a=[1])={for(k=2, oo, k%10||next; k>10*a[#a]&&break; A217657(k*N)*r==k*N&&a=concat(a, k)); #a} \\ Instead of the 1st arg. n, one can directly give N (= A292683(n) by default) as 2nd arg. One could store only the last 'a' (and increase a counter) instead of storing all 'a's.
CROSSREFS
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Oct 17 2017
STATUS
approved