|
|
A162564
|
|
a(n) is the smallest positive integer neither coprime to n! nor a divisor of n!.
|
|
1
|
|
|
4, 4, 9, 9, 14, 22, 22, 22, 22, 26, 26, 34, 34, 34, 34, 38, 38, 46, 46, 46, 46, 58, 58, 58, 58, 58, 58, 62, 62, 74, 74, 74, 74, 74, 74, 82, 82, 82, 82, 86, 86, 94, 94, 94, 94, 106, 106, 106, 106, 106, 106, 118, 118, 118, 118, 118, 118, 122, 122, 134, 134, 134, 134, 134
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,1
|
|
COMMENTS
|
Alternately, smallest composite not dividing n!. For n > 5, twice the smallest prime greater than n. - Charles R Greathouse IV, Apr 04 2013
|
|
LINKS
|
|
|
FORMULA
|
|
|
MAPLE
|
a := proc (n) local j: for j while gcd(j, factorial(n)) = 1 or `mod`(factorial(n), j) = 0 do end do: j end proc: seq(a(n), n = 2 .. 75); # Emeric Deutsch, Jul 23 2009
|
|
PROG
|
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|