Integer sequence - 2 : Kolakoski sequence - MATLAB Cody - MATLAB Central

Problem 2371. Integer sequence - 2 : Kolakoski sequence

Difficulty:Rate
Get the n-th term of Kolakoski Sequence.

Solution Stats

36.49% Correct | 63.51% Incorrect
Last Solution submitted on Nov 12, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

Problem Recent Solvers183

Suggested Problems

More from this Author44

Problem Tags

Community Treasure Hunt

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

Start Hunting!