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!)
A015791 a(n) is the smallest integer k such that phi(k) + n | sigma(k + n). 2
1, 2, 4, 7, 6, 1, 9, 3, 2, 65, 4, 50, 15, 156, 8, 60, 6, 80, 6, 15, 10, 126, 16, 49, 14, 33, 12, 1, 26, 60, 72, 51, 24, 103, 74, 10, 26, 69, 54, 97, 4, 200, 33, 9, 58, 105, 34, 89, 30, 144, 66, 175, 8, 83, 6, 123, 82, 15, 120, 1682, 42, 135, 58, 73, 30, 71, 10 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
MATHEMATICA
Array[Block[{k = 1}, While[Mod[DivisorSigma[1, k + #], EulerPhi[k] + #] != 0, k++]; k] &, 67, 0] (* Michael De Vlieger, Dec 10 2018 *)
PROG
(PARI) a(n) = {my(k=1); while(frac(sigma(k+n)/(eulerphi(k)+n)), k++); k; } \\ Michel Marcus, Dec 11 2018
CROSSREFS
Sequence in context: A299324 A261076 A302991 * A335818 A129980 A198137
KEYWORD
nonn
AUTHOR
EXTENSIONS
Terms corrected by Sean A. Irvine, Dec 10 2018
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 19 05:02 EDT 2024. Contains 371782 sequences. (Running on oeis4.)