OFFSET
1,1
COMMENTS
Numbers where floor(n/10^floor(log(n)))^3 | n.
LINKS
Christian N. K. Anderson, Table of n, a(n) for n = 1..10000
Christian N. K. Anderson, Ulam Spiral of first 10000 terms.
EXAMPLE
448 is divisible by 4^3.
MATHEMATICA
dfdcQ[n_]:=Module[{fidn=IntegerDigits[n][[1]]}, fidn!=1&&Divisible[ n, fidn^3]]; Select[Range[2500], dfdcQ] (* Harvey P. Dale, Jan 13 2019 *)
PROG
(R) x=0; y=rep(0, 1000); len=0
firstdig<-function(x) as.numeric(substr(as.character(x), 1, 1))
isint<-function(x) x==as.integer(x)
while(len<1000) if((fd=firstdig((x=x+1)))>1) if(isint(x/fd^3)) y[(len=len+1)]=x
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Kevin L. Schwartz and Christian N. K. Anderson, May 04 2013
STATUS
approved