Task: Implement a Recursive Function for 2^n - 1
Task: Implement a Recursive Function for 2^n - 1: a task in Terminal-Lego-15k (Harbor dataset). Write a Python recursive function that calculates 2^n - 1 for a given positive integer n .
The task
Write a Python recursive function that calculates `2^n - 1` for a given positive integer `n`.
Part of PrimeIntellect/Terminal-Lego-15k.