OFFSET
1,2
LINKS
Martin Fuller, Table of n, a(n) for n = 1..204
Martin Fuller, Python program for A070735/A070736
MATHEMATICA
{1, 6}~Join~Table[Min[Map[Total, Map[#[[1]]*#[[2]]*#[[3]] &, Subsets[Permutations[Range[n]], {3}]]]] , {n, 3, 5}] (* Robert Price, Apr 08 2019 *)
(* OR, if allowed to replicate small permutations to account for n=1, 2 *)
Table[ Min[Map[Total, Map[#[[1]]*#[[2]]*#[[3]] &, Subsets[If[n > 2, Permutations[Range[n]], Flatten[Table[Permutations[Range[n]], 3], 1]], {3}]]]] , {n, 1, 5}] (* Robert Price, Apr 09 2019 *)
PROG
(PARI) a(n) = {ret = 0; nb = n!; for (a=1, nb, pa = numtoperm(n, a); for (b=1, nb, pb = numtoperm(n, b); for (c=1, nb, pc = numtoperm(n, c); sp = sum(i=1, n, pa[i]*pb[i]*pc[i]); if (! ret, ret = sp, ret = min(ret, sp)); ); ); ); return (ret); } \\ Michel Marcus, Jun 10 2013
(Python) # See Martin Fuller link, Aug 06 2023
CROSSREFS
KEYWORD
nice,nonn,hard
AUTHOR
Michael Reid (mreid(AT)math.umass.edu), May 15 2002
EXTENSIONS
a(16)-a(19) from Hiroaki Yamanouchi, Aug 21 2015
a(20) onwards from Martin Fuller, Aug 06 2023
STATUS
approved