OFFSET
1,2
LINKS
Hywel Normington, Python code, 2020.
FORMULA
Empirical: If A174903(n) = 0, a(n) = a(n-1) + 1.
a(n)-a(n-1) = 1 (mod 6).
EXAMPLE
For n = 1, the only solution is (1,1,1).
For n = 6, the a(6) = 18 solutions are (k,k,k) for k=1,..,6, the 6 permutations of (2,3,6) and the 6 permutations of (3,4,6).
For n = 40, the a(40)-a(39) = 13 new solutions are (40,40,40), the 6 permutations of (10,16,40) and the 6 permutations of (24,30,40).
CROSSREFS
KEYWORD
nonn
AUTHOR
Hywel Normington, Aug 31 2020
STATUS
approved