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.

A154760 Final digit of n!! (A006882).

This page as a plain text file.
%I A154760 #7 Dec 16 2023 18:42:13
%S A154760 1,1,2,3,8,5,8,5,4,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,
%T A154760 0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,
%U A154760 0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0,5,0
%N A154760 Final digit of n!! (A006882).
%C A154760 For n>8: a(n)=0 if n is even, a(n)=5 if n is odd. - _Dmitry Kamenetsky_, Jan 17 2009
%e A154760 The final digit of n! is 1,2,6,4,0,0,0,0,0,0,0,0,0,...
%t A154760 Join[Mod[Range[0,8]!!,10],PadRight[{},120,{5,0}]] (* _Harvey P. Dale_, Dec 16 2023 *)
%K A154760 nonn,base
%O A154760 0,3
%A A154760 Kousaka Hideaki (kousaka(AT)d6.dion.ne.jp), Jan 15 2009
%E A154760 Offset corrected, more terms added by _R. J. Mathar_, Jan 18 2009