OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
phi(503) + prime(503) = 4095 = T(90).
MATHEMATICA
With[{trnos = Accumulate[Range[5000]]}, Select[Range[20000], MemberQ[trnos, (EulerPhi[#] + Prime[#])] &]] (* Harvey P. Dale, Jan 12 2011 *)
Select[Range[20000], OddQ[Sqrt[8(EulerPhi[#]+Prime[#])+1]]&] (* Harvey P. Dale, Dec 08 2024 *)
PROG
(PARI) isok(n) = ispolygonal(prime(n) + eulerphi(n), 3); \\ Michel Marcus, Jan 25 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 06 2006
STATUS
approved