This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A155896 #2 Mar 31 2012 13:48:25 %S A155896 1,2,5,4,8,3,9,26,52,18,25,10,33,53,32,15,13,20,30,5,17,42,7,4,23,43, %T A155896 78,50,28,113,8,44,19,334,59,100,195,27,22,14,91,172,371,16,93,9,12, %U A155896 102,66,26,46,95,279,303,69,331,272,52,286,79,264,298,18,21,190,104,47,138,255 %N A155896 Least positive integer such that a(n)! starts with n, both written in base 6. %e A155896 a(3) = 5 since 5!=120 is the least factorial to start with digit "3" when written in base 6. a(8) = 26 since 8 = 12[6] (i.e. written in base 6) and 26! is the smallest factorial to start with digits "12" when written in base 6. %o A155896 (PARI) A155896(n)={ local( F=1,k=1 ); while( F\1!=n, F*=k++; while( F>=n+1, F/=6)); k} %Y A155896 Cf. A155891--A155894, A018799, A076219. %K A155896 base,nonn %O A155896 1,2 %A A155896 _M. F. Hasler_, Feb 01 2009