I needed help figuring out the formula for a sequence with these conditions:(adsbygoogle = window.adsbygoogle || []).push({});

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.

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Can someone figure out the formula of this sequence?

Have something to add?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**