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!)
A167284 A triangular sequence related to the EulerPhi function: t(n,k)=If[Mod[k, n] == 0 && (Mod[k, EulerPhi[n]] == 0), 1, Mod[k, n] ^ Mod[k, EulerPhi[n]]] 0
1, 1, 1, 1, 1, 0, 1, 1, 3, 1, 1, 4, 27, 1, 0, 1, 1, 3, 1, 5, 1, 1, 4, 27, 256, 3125, 1, 0, 1, 4, 27, 1, 5, 36, 343, 1, 1, 4, 27, 256, 3125, 1, 7, 64, 0, 1, 4, 27, 1, 5, 36, 343, 1, 9 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,9
COMMENTS
Row sums are:
{1, 2, 2, 6, 33, 12, 3414, 418, 3485, 427,...}
The sequences is related to indices solutions of:
x^k=Mod[a,n]
REFERENCES
Burton, David M.,Elementary number theory,McGraw Hill,N.Y.,2002,pp173ff
LINKS
FORMULA
t(n,k)=If[Mod[k, n] == 0 && (Mod[k, EulerPhi[n]] == 0), 1, Mod[k, n] ^ Mod[k, EulerPhi[n]]]
EXAMPLE
{1},
{1, 1},
{1, 1, 0},
{1, 1, 3, 1},
{1, 4, 27, 1, 0},
{1, 1, 3, 1, 5, 1},
{1, 4, 27, 256, 3125, 1, 0},
{1, 4, 27, 1, 5, 36, 343, 1},
{1, 4, 27, 256, 3125, 1, 7, 64, 0},
{1, 4, 27, 1, 5, 36, 343, 1, 9, 0}
MATHEMATICA
t[n_, k_] = If[Mod[k, n] == 0 && (Mod[k, EulerPhi[n]] == 0), 1, Mod[k, n] ^ Mod[k, EulerPhi[n]]]
Flatten[Table[Table[t[n, k], {k, 1, n}], {n, 1, 10}]]
CROSSREFS
Sequence in context: A346792 A294316 A294761 * A016463 A155727 A098084
KEYWORD
nonn,tabf
AUTHOR
Roger L. Bagula, Nov 01 2009
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 24 15:57 EDT 2024. Contains 371961 sequences. (Running on oeis4.)