Computers and Technology

Apentagonal number is defined as
(n(3n1))/2
for n = 1; 2; : : : and so on. so, the first few pentagonal numbers are 1; 5; 12; 22; : : :
write the following method that returns the nth pentagonal number:
public static int getpentagonalnumber( int n )

answer
Answers: 2

Similar questions

Do you know the correct answer?
Apentagonal number is defined as
(n(3n1))/2
for n = 1; 2; : : : and so on. so, the fi...

Questions in other subjects:

Konu
Mathematics, 08.04.2021 18:40
Konu
Mathematics, 08.04.2021 18:40