A097409 Initial decimal digit of n^5.
1, 3, 2, 1, 3, 7, 1, 3, 5, 1, 1, 2, 3, 5, 7, 1, 1, 1, 2, 3, 4, 5, 6, 7, 9, 1, 1, 1, 2, 2, 2, 3, 3, 4, 5, 6, 6, 7, 9, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 8, 8, 9, 9, 1, 1, 1, 1, 1, 1
Offset: 1
Examples
1, 32, 243, 1024, 3125, 7776, 16807, 32768, 59049, 100000, ...
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^5)[1]): seq(a(n), n=1..120); # Alois P. Heinz, Jan 28 2016