OFFSET
2,6
EXAMPLE
Triangle begins:
1;
1;
1;
1;
1, 3;
1;
1;
1;
1, 5;
1;
1, 4;
1;
1, 7;
1, 5;
1;
1;
1, 9;
1;
1, 5;
1, 7;
1, 11;
1;
1;
1;
1, 13;
1;
1, 4;
1;
1, 6, 10, 15;
...
MATHEMATICA
row[n_] := Select[Divisors[n], PowerMod[#, n, n] == # &]; Array[row, 64, 2] // Flatten (* Amiram Eldar, Apr 11 2024 *)
PROG
(Magma) [[d: d in Divisors(n) | d^n mod n eq d]: n in [2..65]];
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Juri-Stepan Gerasimov, Apr 10 2024
STATUS
approved