#Ruby - 14 chars# (5**0.5)/2+0.5 Based on the Javascript answer above ^^