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!)
A337820 Array read by antidiagonals: T(n,k) (n >= 1, k >= 0) is the ratio (the number of nonnegative bases m < n such that m^k == m (mod n))/(the number of nonnegative bases m < n such that -m^k == m (mod n)). 1
1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 2, 1, 1, 1, 1, 5, 1, 3, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 7, 1, 1, 1, 3, 1, 1, 1, 4, 1, 3, 1, 3, 1, 1, 1, 1, 9, 1, 3, 1, 5, 1, 3, 1, 1, 1, 5, 1, 5, 1, 3, 1, 3, 1, 1, 1, 1, 11, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1, 1, 6, 1, 1, 1, 5, 1, 3, 1, 3, 1, 1, 1, 1, 13, 1, 3, 1, 3 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,8
COMMENTS
Array read by antidiagonals: T(n,k) (n >=1, k >= 0) is part of n of the form (the number of nonnegative bases m < n such that m^k == m (mod n))/(the number of nonnegative bases m < n such that -m^k == m (mod n)).
LINKS
FORMULA
T(n, 2*k) = 1; 1 <= T(n, 2*k+1) <= n.
EXAMPLE
The initial rows of the array are:
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 1, 3, 3, 5, 3, 1, 3, 9, 1, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 5, 3, 3, 5, 3, 5, 3, 9, 5, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 1, 3, 7, 5, 7, 1, 3, 9, 1, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 5, 3, 3, 5, 3, 5, 3, 9, 5, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 1, 3, 3, 5, 3, 1, 3, 9, 1, ...
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ...
1, 1, 3, 3, 5, 3, 7, 5, 7, 5, 3, 9, 5, ...
The initial antidiagonals are:
1,
1, 1,
1, 1, 1,
1, 3, 1, 1,
1, 2, 1, 1, 1,
1, 5, 1, 3, 1, 1,
1, 3, 1, 3, 1, 1, 1,
1, 7, 1, 1, 1, 3, 1, 1,
1, 4, 1, 3, 1, 3, 1, 1, 1,
1, 9, 1, 3, 1, 5, 1, 3, 1, 1,
1, 5, 1, 5, 1, 3, 1, 3, 1, 1, 1,
1, 11, 1, 3, 1, 3, 1, 1, 1, 3, 1, 1,
1, 6, 1, 1, 1, 5, 1, 3, 1, 3, 1, 1, 1,
1, 13, 1, 3, 1, 3, 1, 7, 1, 5, 1, 3, 1, 1,
...
PROG
(Magma) /* As triangle */ [[#[m: m in [0..n-k-1] | m^k mod (n-k) eq m]/
#[m: m in [0..n-k-1] | -m^k mod (n-k) eq m]: k in [0..n-1]]: n in [1..13]];
CROSSREFS
Columns 0-2: A000012, A026741, A000012.
Sequence in context: A328323 A090751 A344759 * A322127 A282496 A253238
KEYWORD
nonn,tabl
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 April 18 02:55 EDT 2024. Contains 371767 sequences. (Running on oeis4.)