do while third sequence

Create a do-while loop that starts at 2, and returns the result $a * $a
on each line while $a is less than 1,000,000. Output should equal: