Problem 44321. Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member.

For detailed info : OEIS link and here

 seq = 0, 0, 1, 0, 2, 0, 2, 2, 1, 6, 0, 5...

First member is 0;

Second member is 0;

third member is 1 etc

Solution Stats

48.93% Correct | 51.07% Incorrect
Last Solution submitted on Jul 20, 2024

Problem Comments

Solution Comments

Show comments


Problem Recent Solvers320

Community Treasure Hunt

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

Start Hunting!