OFFSET
1,2
LINKS
Hugo Pfoertner, Table of n, a(n) for n = 1..125
PROG
(PARI) findstr(m, n) = my(dm=digits(m), dn=digits(n)); sum(j=1, #dm-#dn+1, dn==dm[j..j+#dn-1]);
a377163(n) = if(n>1 && n==10^valuation(n, 10), -1, for(x=1, oo, if(findstr(n^x, n)==n, return(x))))
CROSSREFS
KEYWORD
base,sign
AUTHOR
Hugo Pfoertner, Nov 01 2024
STATUS
approved