OFFSET
1,2
COMMENTS
a(n) + 1 is either a prime or a "mutinous number" (A027854).
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..10000
Hans Montanus and Ron Westdijk, Cellular Automation and Binomials, Green Blue Mathematics (2022), p. 69.
FORMULA
Let h(m) = Product(PrimeDivisors(Product_{k=0..m} k^k/k!)). If h(m-1) divides h(m) then m is in this sequence. # Peter Luschny, Dec 21 2019
EXAMPLE
11 is included because Product_{k=0..11} binomial(11, k) is divisible by 2, 3, 5, 7 and 11.
MAPLE
isA056077 := proc(n) local radh; radh := proc(n) option remember;
mul(k, k = numtheory:-factorset(mul(k^k/factorial(k), k=0..n))) end;
type(radh(n)/radh(n-1), integer) end: # isA056077(0) = true.
select(isA056077, [$1..153]); # Peter Luschny, Dec 21 2019
MATHEMATICA
With[{s = Select[Range@ 154, Function[n, (n/Apply[Power, Last@ #]) > #[[-1, 1]] &@ FactorInteger[n]]]}, -1 + Union[s, Prime@ Range@ PrimePi@ Max@ s]] (* Michael De Vlieger, Sep 23 2017 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Leroy Quet, Jul 26 2000
EXTENSIONS
Extended by Ray Chandler, Nov 17 2008
STATUS
approved