A305715 Irregular triangle whose rows are all finite sequences of positive integers that are polydivisible and strictly pandigital.
1, 1, 2, 1, 2, 3, 3, 2, 1, 1, 2, 3, 6, 5, 4, 3, 2, 1, 6, 5, 4, 3, 8, 1, 6, 5, 4, 7, 2, 3, 8, 1, 6, 5, 4, 7, 2, 9, 3, 8, 1, 6, 5, 4, 7, 2, 9, 10
Offset: 1
Examples
Triangle is: {1} {1,2} {1,2,3} {3,2,1} {1,2,3,6,5,4} {3,2,1,6,5,4} {3,8,1,6,5,4,7,2} {3,8,1,6,5,4,7,2,9} {3,8,1,6,5,4,7,2,9,10}
References
- Matt Parker, Things to make and do in the fourth dimension, 2015, pages 7-9.
Links
- Wikipedia, Polydivisible number
Crossrefs
Programs
-
Mathematica
polyQ[q_]:=And@@Table[Divisible[FromDigits[Take[q,k]],k],{k,Length[q]}]; Flatten[Table[Select[Permutations[Range[n]],polyQ],{n,8}]]
Comments