A065356 Final digits of A065355(n) (in reverse order) for sufficiently large n.
6, 8, 6, 9, 5, 0, 9, 7, 5, 9, 7, 0, 1, 7, 4, 3, 6, 6, 7, 5, 5, 3, 4, 4, 7, 4, 9, 0, 6, 9, 4, 9, 8, 6, 0, 4, 6, 7, 6, 5, 9, 1, 5, 0, 0, 2, 9, 8, 8, 7, 3, 1, 6, 2, 5, 1, 3, 1, 2, 5, 0, 2, 5, 2, 5, 7, 7, 0, 9, 9, 5, 6, 6, 9, 4, 3, 4, 1, 3, 4, 9, 9, 7, 3, 3, 4, 8, 4, 0, 2, 1, 1, 8, 3, 7, 9, 7, 1, 8, 7, 8, 6, 2, 3, 8
Offset: 0
Links
Programs
-
PARI
{ for (n=0, 1000, f=1; while(f!%10^(n+1)>0, f+=1); x=sum(k=0, f, k!%10^(n+1)); a=(10*(x%10^(n+1)))\10^(n+1); if (n==0, a=3); write("b065356.txt", n, " ", 9 - a) ) } \\ Harry J. Smith, Oct 17 2009
Formula
a(n) = 9-A025016(n), n > 0. - Vladeta Jovovic, Nov 02 2001
Extensions
a(60)-a(104) from Harry J. Smith, Oct 17 2009