login
Search: a155892 -id:a155892
     Sort: relevance | references | number | modified | created      Format: long | short | data
Least positive integer such that a(n)! starts with n, both written in base 16.
+10
3
1, 2, 10, 36, 9, 3, 5, 24, 8, 43, 82, 25, 30, 46, 64, 62, 60, 68, 7, 14, 70, 18, 13, 4, 31, 272, 19, 12, 97, 35, 161, 140, 20, 86, 27, 74, 131, 11, 502, 234, 47, 181, 386, 21, 6, 996, 52, 232, 144, 32, 393, 189, 199, 281, 10, 490, 39, 154, 83, 22, 28, 577, 63, 65, 88, 61, 115
OFFSET
1,2
LINKS
Nick Hobson, C program.
PROG
(PARI) A155894(n)={ local( F=1, k=1 ); while( F\1!=n, F*=k++; while( F>=n+1, F/=16 )); k}
(C) See Links section.
CROSSREFS
KEYWORD
base,nonn
AUTHOR
M. F. Hasler, Feb 01 2009
STATUS
approved
Least positive integer such that a(n)! starts with n, both written in base 8.
+10
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

Search completed in 0.005 seconds