login
The OEIS is supported by
the many generous donors to the OEIS Foundation
.
A118170
x for which abs(n^n-x!) is minimal for given n.
2
1, 1, 3, 4, 5, 7, 8, 9, 10, 12, 13, 14, 15, 17, 18, 19, 20, 22, 23, 24, 25, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 39, 40, 41, 42, 43, 45, 46, 47, 48, 49, 51, 52, 53, 54, 55, 57, 58, 59, 60, 61, 63, 64, 65, 66, 67, 68, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, 81, 83, 84, 85, 86
(
list
;
graph
;
refs
;
listen
;
history
;
text
;
internal format
)
OFFSET
0,3
LINKS
Table of n, a(n) for n=0..71.
EXAMPLE
3^3 = 27, the closest x! can get to 27 is 4!, so a(3) = 4
CROSSREFS
Cf.
A118168
,
A118169
.
Sequence in context:
A137689
A081690
A081688
*
A039094
A241687
A169757
Adjacent sequences:
A118167
A118168
A118169
*
A118171
A118172
A118173
KEYWORD
easy
,
nonn
AUTHOR
Olaf Voß
, Apr 13 2006
STATUS
approved