3 views
25 Jan 2026
Compute the n-th Fibonacci number (0-indexed)....
2 views
25 Jan 2026
Given a1,d,n find n-th term....
2 views
25 Jan 2026
Given a,r,n,m compute a*r^(n-1) mod m....
4 views
25 Jan 2026
Given f0,f1 and f(n)=f(n-1)+2f(n-2), compute f(n)....