Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A155895
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A155895 Least positive integer such that a(n)! starts with n, both written in base 5. +0
1
1, 2, 17, 4, 6, 3, 29, 7, 10, 19, 31, 8, 18, 14, 37, 61, 81, 17, 33, 11, 63, 94, 9, 4, 13, 24, 16, 6, 27, 22, 52, 152, 28, 21, 143, 45, 35, 29, 67, 7, 62, 15, 247, 181, 193, 10, 105, 48, 12, 97, 19, 167, 36, 72, 146, 75, 31, 391, 69, 40, 186, 486, 133, 8, 57, 46, 18, 103, 115 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(3) = 17 since 17! is the least factorial to start with digit "3" when written in base 5. a(5) = 6 since 5 = 10[5] (i.e. written in base 5) and 6! = 720 = 625 + 75 + 20 = 10340[5] is the smallest factorial to start with digits "10" when written in base 5.

PROGRAM

(PARI) A155895(n)={ local( F=1, k=1 ); while( F\1!=n, F*=k++; while( F>=n+1, F/=5)); k}

CROSSREFS

Cf. A155891--A155894, A018799, A076219.

Sequence in context: A108883 A162623 A165234 this_sequence A144212 A057280 A055677

Adjacent sequences: A155892 A155893 A155894 this_sequence A155896 A155897 A155898

KEYWORD

base,nonn

AUTHOR

M. F. Hasler (Maximilian.Hasler(AT)gmail.com), Feb 01 2009

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 December 15 00:47 EST 2009. Contains 170825 sequences.


AT&T Labs Research