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”).

A116040
n+phi(n)+phi(phi(n)) is a triangular number.
4
1, 3, 7, 16, 22, 23, 24, 46, 50, 54, 57, 67, 77, 81, 109, 135, 164, 204, 273, 304, 311, 331, 391, 415, 438, 500, 532, 541, 671, 685, 690, 702, 783, 855, 1025, 1130, 1264, 1301, 1375, 1459, 1603, 1667, 1707, 1775, 1864, 1953, 2053, 2055, 2136, 2369
OFFSET
1,2
LINKS
EXAMPLE
77+phi(77)+phi(phi(77)) = 153 = T(17).
MATHEMATICA
tnoQ[n_]:=Module[{eph=EulerPhi[n]}, IntegerQ[(Sqrt[8(n+eph+ EulerPhi[ eph])+ 1 ]-1)/2]]; Select[Range[2500], tnoQ] (* Harvey P. Dale, Oct 01 2011 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 13 2006
STATUS
approved