6 kyu

Nth Order Summation

130 of 176Kacarott

Description:

Task

Consider a series of functions Sm(n)S_m(n) where:

S0(n)=1S_0(n) = 1
Sm+1(n)=k=1nSm(k)S_{m+1}(n) = \displaystyle\sum^n_{k=1}S_m(k)

Write a function s which takes two integer arguments m and n and returns the value defined by Sm(n)S_m(n).

Inputs

0 <= m <= 100
1 <= n <= 10**100

Mathematics
Performance

Similar Kata:

More By Author:

Check out these other kata created by Kacarott

Stats:

CreatedJun 25, 2021
PublishedJun 25, 2021
Warriors Trained1095
Total Skips44
Total Code Submissions662
Total Times Completed176
Python Completions130
C# Completions30
Rust Completions32
Factor Completions7
Total Stars23
% of votes with a positive feedback rating88% of 60
Total "Very Satisfied" Votes49
Total "Somewhat Satisfied" Votes7
Total "Not Satisfied" Votes4
Total Rank Assessments13
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Kacarott Avatar
  • Awesome A.D. Avatar
  • hobovsky Avatar
  • pa-m Avatar
  • dfhwze Avatar
Ad