Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A045547
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A045547 Numbers n such that final nonzero digit of n! is '2'. +0
2
2, 5, 6, 8, 14, 19, 34, 35, 36, 38, 40, 41, 43, 47, 50, 51, 53, 62, 67, 74, 84, 85, 86, 88, 90, 91, 93, 97, 109, 110, 111, 113, 115, 116, 118, 122, 129, 132, 145, 146, 148, 150, 151, 153, 162, 167, 174, 177, 180, 181, 183, 189, 194, 200, 201, 203, 212, 217 (list; graph; listen)
OFFSET

1,1

LINKS

Index entries for sequences related to final digits of numbers

MATHEMATICA

f[ n_Integer, m_Integer ] := (c = 0; p = 1; While[ d = Floor[ n/5^p ]; d > 0, c = c + d; p++ ]; Mod[ n!/10^c, m ] ); Select[ Range[ 250 ], f[ #, 10 ] == 2 & ]

CROSSREFS

Sequence in context: A028787 A028796 A019989 this_sequence A127143 A079256 A097685

Adjacent sequences: A045544 A045545 A045546 this_sequence A045548 A045549 A045550

KEYWORD

nonn,base

AUTHOR

Jeff Burch (gburch(AT)erols.com)

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified August 19 23:53 EDT 2008. Contains 142930 sequences.


AT&T Labs Research