Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A155892
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A155892 Least positive integer such that a(n)! starts with n, both written in base 3. +0
2
1, 2, 12, 5, 13, 3, 19, 4, 31, 18, 12, 21, 5, 33, 17, 13, 34, 8, 38, 7, 19, 92, 24, 4, 11, 6, 46, 39, 31, 22, 18, 77, 12, 55, 32, 75, 21, 52, 74, 5, 15, 33, 61, 122, 166, 17, 47, 13, 65, 54, 49, 148, 34, 71, 8, 117, 107, 60, 38, 51, 10, 7, 111, 25, 19, 92, 123, 128, 29, 24, 56, 99 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(4) = 5 since 4 = 11[3] (i.e. written in base 2) and 5! = 11110[3] is the least factorial to have 11 as most significant digits in base 3.

PROGRAM

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

CROSSREFS

Cf. A155891, A018799, A076219.

Sequence in context: A159323 A038218 A005760 this_sequence A112100 A015808 A079080

Adjacent sequences: A155889 A155890 A155891 this_sequence A155893 A155894 A155895

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 4 23:11 EST 2009. Contains 170347 sequences.


AT&T Labs Research