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!)
A115908 Numbers k such that phi(k) + prime(k) is a triangular number. 3
1, 5, 6, 15, 23, 141, 150, 258, 317, 340, 359, 378, 471, 503, 768, 1363, 2175, 2516, 3285, 3342, 3815, 3905, 4385, 4748, 5385, 5976, 6026, 6900, 7048, 7151, 7411, 7698, 8251, 8310, 8828, 10182, 10461, 12022, 12508, 13722, 13840, 15456, 16582 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
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 *)
PROG
(PARI) isok(n) = ispolygonal(prime(n) + eulerphi(n), 3); \\ Michel Marcus, Jan 25 2014
CROSSREFS
Sequence in context: A030533 A329634 A227066 * A247962 A241307 A185876
KEYWORD
nonn
AUTHOR
Giovanni Resta, Feb 06 2006
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 April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)