login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A154760 Final digit of n!! (A006882). 0
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,3
COMMENTS
For n>8: a(n)=0 if n is even, a(n)=5 if n is odd. - Dmitry Kamenetsky, Jan 17 2009
LINKS
EXAMPLE
The final digit of n! is 1,2,6,4,0,0,0,0,0,0,0,0,0,...
MATHEMATICA
Join[Mod[Range[0, 8]!!, 10], PadRight[{}, 120, {5, 0}]] (* Harvey P. Dale, Dec 16 2023 *)
CROSSREFS
Sequence in context: A265343 A347193 A268392 * A231817 A114340 A126102
KEYWORD
nonn,base
AUTHOR
Kousaka Hideaki (kousaka(AT)d6.dion.ne.jp), Jan 15 2009
EXTENSIONS
Offset corrected, more terms added by R. J. Mathar, Jan 18 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 5 14:34 EDT 2024. Contains 375700 sequences. (Running on oeis4.)