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!)
A056917 Numbers n such that sigma(n)-phi(n) is a perfect square. 2
1, 15, 30, 44, 65, 77, 78, 87, 105, 141, 147, 186, 242, 247, 282, 301, 330, 335, 345, 450, 481, 560, 570, 589, 591, 606, 671, 705, 717, 767, 777, 785, 819, 820, 870, 1007, 1032, 1056, 1071, 1102, 1167, 1173, 1185, 1230, 1247, 1271, 1351, 1374, 1415, 1416, 1501 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
EXAMPLE
sigma(44)-phi(44) = 84 - 20 = 8^2, so 44 is a term of the sequence.
MATHEMATICA
Select[Range[10^3], IntegerQ[Sqrt[DivisorSigma[1, # ] - EulerPhi[ # ]]] &]
PROG
(PARI) isok(n) = issquare(sigma(n) - eulerphi(n)); \\ Michel Marcus, Oct 19 2016
CROSSREFS
Sequence in context: A060700 A167210 A131933 * A344332 A044855 A044900
KEYWORD
easy,nonn
AUTHOR
Joseph L. Pe, Feb 12 2002
EXTENSIONS
More terms from Eric M. Schmidt, Oct 19 2016
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 14 14:06 EDT 2024. Contains 372533 sequences. (Running on oeis4.)