Question: Triangular and prime numbers

Let A be the set of the first 1000 odd natural numbers. Use Maple’s commands for set operations to determine how many elements in A are also triangular numbers or prime numbers.

Please Wait...