List the cuban primes - MATLAB Cody - MATLAB Central

Problem 52881. List the cuban primes

Difficulty:Rate
The number 61 is a cuban prime because it is prime and the difference two cubes, 64 and 125.
Write a function to list the cuban primes less than or equal to the input number.

Solution Stats

57.69% Correct | 42.31% Incorrect
Last Solution submitted on Dec 06, 2024

Problem Comments

Solution Comments

Show comments
PIVlab surpasses 100K all-time File Exchange downloads
During the past twelve months, PIVlab, a MATLAB Community Toolbox for particle...
4
8
LLMs with MATLAB updated to support the latest OpenAI Models
Large Languge model with MATLAB, a free add-on that lets you access...
2
4

Group

Prográmky Image
Prográmky
  • 10 Problems
  • 84 Finishers

Problem Recent Solvers13

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!