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

858 Solutions

329 Solvers

Last Solution submitted on Feb 27, 2026

Last 200 Solutions

Problem Comments

Solution Comments

Show comments
Loading...