A097408 Initial decimal digit of n^4.
1, 1, 8, 2, 6, 1, 2, 4, 6, 1, 1, 2, 2, 3, 5, 6, 8, 1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6, 7, 8, 9, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 1, 1, 1, 1, 1, 1
Offset: 1
Examples
1, 16, 81, 256, 625, 1296, 2401, 4096, 6561, 10000, ...
Links
- Alois P. Heinz, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Gelfand's Question
Programs
-
Maple
a:= n-> parse(""||(n^4)[1]): seq(a(n), n=1..120); # Alois P. Heinz, Jan 28 2016