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

c programming, putty program Pentagonal numbers are generated by the formula, Pn

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!