Question: c programming, putty program Pentagonal numbers are generated by the formula, Pn (3n-1)/2. The first ten pentagonal numbers are 1,5, 12, 22,35, 51, 70,92, 117,
c programming, putty program

Pentagonal numbers are generated by the formula, Pn (3n-1)/2. The first ten pentagonal numbers are 1,5, 12, 22,35, 51, 70,92, 117, 145 Pg. However, their difference, 70- 22 48, is not pentagonal. It can be seen that P4+Py 22+70-92 Find the pair of pentagonal numbers, Pj and Pk for which their sum and difference are pentagonal and D-Pk-PI is minimised; what is the value of D
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
