RosettaCodeData/Task/Generator-Exponential/Icon/generator-exponential-2.icon

10 lines
219 B
Text
Raw Permalink Normal View History

2025-08-11 18:05:26 -07:00
procedure noncubesquares() #: filter for squares that aren't cubes
cu := create mthpower(3)
c := @cu
every s := mthpower(2) do{
if s > c then c := @cu
if s == c then next
suspend s
}
end