Zak, that;s an interesting sequence - please submit it! Average digit of n^2 is s=2 (no trailing zeroes in n, please). There are 2514 such integers < 10^7: 145, 152, 179, 251, 3182, 3199, 3245, 3335, 3362,... Neil