Anand Jain has authored 3 sequences.
A383459
Minimum number of cycles in any permutation in S_n of the highest order (A000793(n)).
Original entry on oeis.org
1, 1, 1, 1, 2, 1, 2, 2, 2, 3, 2, 3, 4, 3, 3, 3, 4, 3, 4, 5, 5, 4, 4, 5, 4
Offset: 1
There are two different cycle types of permutations in S_6 of the maximum order g(6) = 6, for example (123456) and (12)(345)(6). The minimum number of cycles is a(6) = 1 and maximum number is A383458(6) = 3.
A383458
Maximum number of cycles in any permutation in S_n of the highest order (A000793(n)).
Original entry on oeis.org
1, 1, 1, 1, 2, 3, 2, 2, 2, 3, 4, 3, 4, 3, 3, 3, 4, 5, 4, 5, 6, 7, 4, 5, 4
Offset: 1
There are two different cycle types of permutations in S_6 of the maximum order g(6) = 6, for example (123456) and (12)(345)(6). The minimum number of cycles is A383459(6) = 1 and maximum number is a(6) = 3.
-
using Combinatorics
arrs = []
for n in 1:25
ps = integer_partitions(n)
lcms = lcm.(ps)
the_max, imax, = findmax(lcms)
max_order_cyc_idxs = []
for (i, l) in enumerate(lcms)
if the_max == l
push!(max_order_cyc_idxs, i)
end
end
push!(arrs, ps[max_order_cyc_idxs])
end
map(x->maximum(length.(x)), arrs)
A382359
Number of labeled deterministic finite automata with n states and two letters.
Original entry on oeis.org
2, 128, 17496, 4194304, 1562500000, 835884417024, 607687873272704, 576460752303423488, 691636079448571949568, 1024000000000000000000000, 1833841138186726138360895488, 3907429033741066770846918377472, 9769232732262334599652925506494464
Offset: 1
For n = 1, we have two choices (a(1)=2), either the node is an accept state or not. We have no choice but to send both letters of the alphabet to itself, and only one choice for the start state. Therefore 1*2*1 = 2.
For n = 2, we have 2 choices for starting, 4 choices for which states are accepting, and 2^4 choices for transition functions. So a(2) = 2*4*16 = 128.
Comments