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!)
A074634 Cototient-remainder triangle: triangular array T(n,k) (n >= 1, 1 <= k <= n) read by rows, where T(n,k) = smallest number x such that Mod[Cototient[x],n]=k. 0
1, 1, 2, 1, 2, 4, 1, 2, 4, 9, 1, 2, 4, 9, 6, 1, 2, 4, 9, 6, 25, 1, 2, 4, 9, 6, 18, 10, 1, 2, 4, 9, 6, 25, 10, 15, 1, 2, 4, 9, 6, 25, 10, 15, 12, 1, 2, 4, 9, 6, 25, 10, 15, 12, 21, 1, 2, 4, 9, 6, 24, 10, 15, 12, 21, 45, 1, 2, 4, 9, 6, 25, 10, 15, 12, 21, 30, 35, 1, 2, 4, 9, 6, 25, 10, 15, 12 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
Min{x; Mod[x-Phi[x], n]=r}, r=1..n, n=1, ...
EXAMPLE
1; 1,2; 1,2,4; 1,2,4,9; 1,2,4,9,6; 1,2,4,9,6,25; 1,2,4,9,6,18,10; 1,2,4,9,6,25,10,15; 1,2,4,9,6,25,10,15,12, ...
MATHEMATICA
{k=0, s=0, fl=1}; Table[Print["#"]; Table[fl=1; Print[{r, m}]; Do[s=Mod[n-EulerPhi[n], m]; If[(s==r)&&(fl==1), Print[n]; fl=0], {n, 1, 500}], {r, 0, m-1}], {m, 1, 50}]
CROSSREFS
Sequence in context: A256009 A123937 A138882 * A152036 A035015 A212829
KEYWORD
nonn,tabl
AUTHOR
Labos Elemer, Aug 29 2002
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 May 20 05:07 EDT 2024. Contains 372703 sequences. (Running on oeis4.)