Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
#TI-BASIC, 27 bytes
Prompts user for input and displays output on termination. Note: ⁻¹ is the -1 (inverse) token.
⁻¹
Input N 1 Repeat 2N≤Σ(I⁻¹,I,1,Ans Ans+1 End Ans
#TI-BASIC, 3027 bytes
TakesPrompts user for input in Ans and storesdisplays output in Anson termination. Note: ⁻¹ is the -1 (inverse) token.
Ans
Ans→NInput N 1→M1 Repeat 2N≤Σ(I⁻¹,I,1,MAns M+1→MAns+1 End Ans
#TI-BASIC, 30 bytes
Takes input in Ans and stores output in Ans. Note: ⁻¹ is the -1 (inverse) token.
Ans→N 1→M Repeat 2N≤Σ(I⁻¹,I,1,M M+1→M End