ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1209. 1, 10, 100, 1000...

The correct formula
Posted by lopezio 6 May 2014 21:13
Here is the formula to find the 1 numbers:
(sqr(n)+n+2)/2
n varies from 0 to ....