OFFSET
1,3
COMMENTS
LINKS
Michael De Vlieger, Table of n, a(n) for the first 1000 rows, flattened
EXAMPLE
Triangle begins:
n T(n,m) A051265(n)
1: 1 0
2: 1 0
3: 2 1
4: 3 1
5: 2 3 4 1
6: 5 1
7: 6 2
8: 3 5 7 1
9: 2 4 5 7 8 1
10: 3 7 9 1
11: 6 10 2
12: 5 7 11 1
13: 6 10 12 2
14: 3 5 9 11 13 1
15: 14 2
16: 15 2
17: 6 10 12 14 15 2
18: 5 7 11 13 17 1
19: 6 10 12 14 15 18 2
20: 3 7 9 11 13 17 19 1
MATHEMATICA
Table[MaximalBy[#, Last][[All, 1]] &@ Map[{#, PrimeNu@ #} &, Cases[Range[n - 1], k_ /; CoprimeQ[n, k]]] /. {} -> {1}, {n, 30}] // Flatten (* Michael De Vlieger, Aug 11 2017 *)
CROSSREFS
KEYWORD
nonn,easy,tabf
AUTHOR
Michael De Vlieger, Aug 11 2017
STATUS
approved