Identify Wagstaff primes - MATLAB Cody - MATLAB Central

Problem 46047. Identify Wagstaff primes

Difficulty:Rate

The numbers 3, 43, and 2731 are examples of Wagstaff primes.

Write a function to identify Wagstaff primes in the input.

Solution Stats

24.64% Correct | 75.36% Incorrect
Last Solution submitted on Oct 28, 2024

Problem Comments

Solution Comments

Show comments
R2025a Pre-release highlights
This topic is for discussing highlights to the current R2025a Pre-release.
18
6

Problem Recent Solvers31

Suggested Problems

More from this Author291

Problem Tags

Community Treasure Hunt

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

Start Hunting!
Go to top of page