Is there a formal name for
$ S(k,n) = \sum_{p = 1}^{n} k^p$
I tried to use the Online Encyclopedia of Integer Sequences but it returned 11036 results. Also this formula has two inputs and I don't know if/how to do that with OEIS.
TL;DR
This is for use with generating test cases with a computer program. I used Catalan number for generating the test cases for binary operators and am now expanding the generator to handle unary operators.
My first attempt to do this was when ever a unary operator was to be added was to add a binary operator with the second argument set to null, but that resulted in duplicate test cases.
As a check I would like to be able to calculate the number of correct test cases for unary operators using this function; as Catalan number worked correctly for binary operators.
The reason I seek the name is because once I have the name I can query with it and get more helpful web pages, e.g. querying with catalan number binary tree test cases quickly led to Every Binary Tree There Is
Yes I am aware that I will need to combine this with the outcome of the Catalan number, but I am taking this one step at a time.
Edits
Simplification formula noted by Hans Lundmark :
$ S(n,k) = \frac{k(k^n-1)}{(k-1)}$