<?php $fn4 = fn ($totalCount) => sqrt($totalCount) - sqrt(1); $total = 1; for ($i = 1; $i <= 20; $i++) { echo sqrt($i) * 20 - sqrt(1); // echo "$total: " . ceil($fn4($i)); echo "\n"; $total++; }
You have javascript disabled. You will not be able to edit any code.