5313024domain: NAppears in sequencesa(n) = n^3*(2*n^2+1)/3.at n=24A272125Numbers such that the path described in Comments visits all digits once and ends in the position immediately after the last digit.at n=19A285696