login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A066782
Numbers k such that (k, phi(k)) lies on the hyperbola x^2 - y^2 = m^2, for some natural number m, i.e., k^2 - phi(k)^2 is a square.
2
1, 5, 13, 25, 34, 41, 61, 68, 113, 125, 136, 169, 181, 219, 222, 272, 313, 390, 421, 444, 482, 544, 578, 613, 625, 657, 666, 761, 780, 888, 964, 979, 1013, 1088, 1156, 1170, 1201, 1301, 1332, 1560, 1681, 1741, 1776, 1861
OFFSET
1,2
LINKS
EXAMPLE
5^2 - phi(5)^2 = 25 - 16 = 3^2, so 5 is a term of the sequence.
MATHEMATICA
Select[ Range[ 1, 10^4 ], IntegerQ[ Sqrt[ #^2 - EulerPhi[ # ]^2 ] ] & ]
PROG
(PARI) isok(k) = { issquare(k^2 - eulerphi(k)^2) } \\ Harry J. Smith, Mar 25 2010
CROSSREFS
Cf. A066763.
Sequence in context: A190618 A309585 A004627 * A094553 A094079 A194811
KEYWORD
nonn
AUTHOR
Joseph L. Pe, Jan 18 2002
STATUS
approved