login
A155893
Least positive integer such that a(n)! starts with n, both written in base 8.
2
1, 2, 4, 16, 13, 3, 46, 27, 7, 14, 6, 32, 10, 39, 5, 20, 86, 50, 11, 26, 121, 18, 38, 4, 31, 199, 34, 12, 139, 28, 63, 62, 61, 67, 60, 125, 59, 16, 37, 58, 47, 108, 23, 21, 41, 13, 112, 71, 194, 56, 25, 30, 302, 19, 166, 46, 55, 150, 83, 116, 219, 73, 90, 140, 164, 54, 207
OFFSET
1,2
PROG
(PARI) A155893(n)={ local( F=1, k=1 ); while( F\1!=n, F*=k++; while( F>=n+1, F/=8 )); k}
CROSSREFS
KEYWORD
base,nonn
AUTHOR
M. F. Hasler, Feb 01 2009
STATUS
approved