+ 8

Today's Challenge -> How to find Geometric progression of a series?

If a be the first term and r be the common ratio, then G.P will be- a, ar, ar^2, ar^3,......... and so on. For example, If a=1 and r=4 then G.P would be- 1,4,16,64,256,........ and so on. Best of luck guys, try to make the solution as small as possible

26th Sep 2017, 5:09 PM
Aryan Sanghi
Aryan Sanghi - avatar
11 Réponses
5th Oct 2017, 4:24 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
26th Sep 2017, 9:31 PM
m abrate
m abrate - avatar
+ 6
https://code.sololearn.com/ciwex0pTERYE/?ref=app
26th Sep 2017, 6:19 PM
Vijay
Vijay - avatar
+ 5
I will try one-liner
5th Oct 2017, 4:19 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
5th Oct 2017, 4:53 AM
Martin Möhle
Martin Möhle - avatar
+ 4
https://code.sololearn.com/cZBO0x3ro2JK/?ref=app
26th Sep 2017, 5:48 PM
Limitless
Limitless - avatar
27th Sep 2017, 6:01 PM
ysraelcon
ysraelcon - avatar
+ 4
https://code.sololearn.com/ckLQNT909Iwf/?ref=app
5th Oct 2017, 2:47 PM
Vukan
Vukan - avatar
26th Sep 2017, 6:14 PM
Lost Net (Mirkn)
Lost Net (Mirkn) - avatar
5th Oct 2017, 2:26 PM
yuri
5th Oct 2017, 4:10 PM
Freezemage
Freezemage - avatar