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.81% Correct | 51.19% Incorrect
Last Solution submitted on Mar 09, 2024

Problem Comments

Solution Comments

Show comments

Problem Recent Solvers318

Suggested Problems

More from this Author92

Community Treasure Hunt

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

Start Hunting!