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

Created by Mehmet OZC in Community

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

47.44% Correct | 52.56% Incorrect
Last solution submitted on Mar 08, 2019

Problem Comments

Solution Comments

Recent Solvers245

Suggested Problems

More from this Author53

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!