A234512 Numbers n = d(0)d(1)d(2)...d(r) such that d(i) is the number of differences |d(i)-d(i-1)| equal to i in n, i = 1,2,...,r.
110, 311000, 2301000, 3003000, 3120000, 42100000, 410300000, 430100000
Offset: 1
Examples
311000 is in the sequence because the differential digits are: |1-3| = 2; |1-1| = 0; |0-1| = 1; |0-0| = 0; |0-0| = 0, and 0 appears three times => 3; 1 appears one time => 1; 2 appears one time => 1; 3 appears zero time => 0; 4 appears zero time => 0; 5 appears zero time => 0, hence a(2) = 311000.
Links
- Tanya Khovanova, Autobiographical Numbers
Programs
-
Maple
with(numtheory):for n from 10 to 10^10 do:T:=array(0..9):for k from 0 to 9 do:T[k]:=0:od:x:=convert(n,base,10):n1:=nops(x):for i from 1 to n1-1 do:a:=abs(x[i]-x[i+1]):T[a]:=T[a]+1:od:s:=sum('T[i]*10^(10-i-1)','i'=0..9): for u from 9 by -1 to 1 do:if T[0]<>0 and irem(s,10^u)=0 and s/10^u = n then print(n):else fi:od:od:
Comments