using System;

using System.Collections;

using System.Collections.Generic;

using UnityEngine;

public class Power_Calculation : MonoBehaviour

{

```
// Update is called once per frame
void Update()
{
int value = 2;
for (int power = 0; power <= 32; power++)
Debug.Log($"{value}^{power} = {(long)Math.Pow(value, power):N0} (0x{(long)Math.Pow(value, power):X})");
}
```

}

// Attaching this script to an Object in Unity will produce a wide range of answer on the debug log include 2^24 which is

// 16,777,216