The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A371884 Irregular triangle read by rows in which row n >= 2 lists the divisors d of n such that d^n mod n = d. 2
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, 1, 1, 1, 11, 1, 17, 1, 1, 9, 1, 1, 19, 1, 13, 1, 1, 1, 7, 21, 1, 1, 1, 9, 1, 23, 1, 1, 16, 1, 1, 25, 1, 17, 1, 13, 1, 1, 27, 1, 11, 1, 8, 1, 19, 1, 29, 1, 1, 1, 1, 31, 1, 1, 1, 5, 13 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,6
LINKS
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
Sequence in context: A361239 A140334 A131324 * A079724 A289357 A111368
KEYWORD
nonn,tabf
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified June 8 04:51 EDT 2024. Contains 373207 sequences. (Running on oeis4.)