cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A111395 First digit of powers of 5.

This page as a plain text file.
%I A111395 #16 Jul 15 2023 14:03:05
%S A111395 1,5,2,1,6,3,1,7,3,1,9,4,2,1,6,3,1,7,3,1,9,4,2,1,5,2,1,7,3,1,9,4,2,1,
%T A111395 5,2,1,7,3,1,9,4,2,1,5,2,1,7,3,1,8,4,2,1,5,2,1,6,3,1,8,4,2,1,5,2,1,6,
%U A111395 3,1,8,4,2,1,5,2,1,6,3,1,8,4,2,1,5,2,1,6
%N A111395 First digit of powers of 5.
%H A111395 Seiichi Manyama, <a href="/A111395/b111395.txt">Table of n, a(n) for n = 0..10000</a>
%F A111395 a(n) = A000030(A000351(n)). - _Seiichi Manyama_, Jul 15 2023
%t A111395 First[IntegerDigits[#]]&/@(5^Range[0,100]) (* _Harvey P. Dale_, Jan 13 2015 *)
%o A111395 (PARI) a(n) = digits(5^n)[1]; \\ _Michel Marcus_, Jan 07 2014
%Y A111395 Cf. A008952, A060956.
%Y A111395 Cf. A000030, A000351, A008566.
%K A111395 easy,nonn,base
%O A111395 0,2
%A A111395 Almerio A. Castro (almerio.castro(AT)gmail.com), Nov 11 2005
%E A111395 a(0)=1 prepended, and more terms from _Michel Marcus_, Jan 07 2014