Let's converge to 9! – codegolf.stackexchange.com

Given an integer n > 2, print or return the smallest non-negative integer k such that a(n, k) = 9, where a(n, k) is defined by: a(n, 0) = n a(n, k+1) = a(n, k) / 2 + 1 if a(n, k) is even the sum of ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Let's converge to 9! – codegolf.stackexchange.com"