Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A155891
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A155891 Least positive integer such that a(n)! starts with n, both written in binary. +0
6
1, 2, 3, 7, 6, 3, 5, 20, 7, 14, 6, 4, 10, 12, 5, 20, 27, 50, 7, 14, 23, 6, 13, 4, 25, 30, 10, 12, 51, 5, 63, 24, 20, 36, 27, 50, 59, 11, 7, 14, 26, 75, 23, 9, 6, 13, 49, 71, 144, 31, 25, 30, 199, 19, 10, 46, 12, 51, 83, 5, 28, 73, 63, 62, 24, 54, 20, 36, 67, 27, 40, 74, 50, 59, 124 (list; graph; listen)
OFFSET

1,2

EXAMPLE

a(7) = 5 since 7 = 111[2] (i.e. written in base 2) and 5! = 1111000[2] is the least factorial to have 111 as most significant binary digits.

PROGRAM

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

CROSSREFS

Cf. A018799, A076219.

Sequence in context: A092927 A071553 A021812 this_sequence A069772 A098287 A115304

Adjacent sequences: A155888 A155889 A155890 this_sequence A155892 A155893 A155894

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 19 12:50 EST 2009. Contains 171053 sequences.


AT&T Labs Research