Better HN
topnewbestaskshowjobs
Log inSign up

mxbr

6 karma · joined May 28, 2019 (7y ago) · 3 submissions

Submissions

1.

Hidden Colors in Water [video](youtube.com ↗)

2 points · by mxbr · 4y ago · discuss

comment 7y ago · link · parent

  2 * (1..12).reduce(&:+)
You could also use the closed summation formula: (n^2 + n) / 2. In our case that shortens to just 12*13=156.

comment 7y ago · link · parent

For Berlin, there is an interesting visualization of this question:

https://verkehrsluecken.tagesspiegel.de/en/