How to resolve the algorithm Square but not cube step by step in the RPL programming language

Published on 12 May 2024 09:40 PM

How to resolve the algorithm Square but not cube step by step in the RPL programming language

Table of Contents

Problem Statement

Show the first   30   positive integers which are squares but not cubes of such integers. Optionally, show also the first   3   positive integers which are both squares and cubes,   and mark them as such.

Let's start with the solution: