Template:Exponent interval

From Prime-Wiki
Jump to: navigation, search

Template: Exponent interval

Purpose

Determine the interval m of an exponent n≥1 with 2m ≤ n < 2m+1.

Calling

 {{Exponent interval|<n>}}
Parameter <n>: The n-value to determine.

Examples

{{Exponent interval|1}} : 0
{{Exponent interval|2}} : 1
{{Exponent interval|20}} : 4
{{Exponent interval|31}} : 4
{{Exponent interval|32}} : 5