- #1
yellowcakepie
I needed help figuring out the formula for a sequence with these conditions:
1. The first term is 1.
2. All terms are positive integers.
3. 3 times each term (3*a_n) must be greater than the sum of that term and all the terms before it, but no more than 3 greater.
Operators like ceil() and floor() are probably needed, but I'm not certain.
1. The first term is 1.
2. All terms are positive integers.
3. 3 times each term (3*a_n) must be greater than the sum of that term and all the terms before it, but no more than 3 greater.
Operators like ceil() and floor() are probably needed, but I'm not certain.
Last edited by a moderator: