OFFSET
1,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000 (terms 1..1001 from Harvey P. Dale)
EXAMPLE
39 is in the sequence because 39-phi(39) = 15, which is a triangular number.
MATHEMATICA
Select[Range[200], OddQ[Sqrt[8(#-EulerPhi[#])+1]]&] (* Harvey P. Dale, Jun 29 2015 *)
PROG
(PARI) isok(n) = ispolygonal(n - eulerphi(n), 3); \\ Michel Marcus, Feb 26 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Luc Stevens (lms022(AT)yahoo.com), Apr 23 2006
EXTENSIONS
Offset corrected by Amiram Eldar, Mar 23 2021
STATUS
approved
