The VAN ECK SEQUENCE

Discuss Computer Science and Programming related problems

Moderators:Labib, bristy1588

SYED ASHFAQ TASIN
Posts:29
Joined:Thu Jun 02, 2016 6:14 pm
The VAN ECK SEQUENCE

Unread post by SYED ASHFAQ TASIN » Sat Aug 03, 2019 12:15 am

Cau you make a pogramme to show the VAN ECK SEQUENCE?Or at least the algorithm?

My thought:
I think I can do so using Array and some Loops

Don't know about Van Eck Sequence? https://en.m.wikipedia.org/wiki/Van_Eck%27s_sequence
EARLY TO BED AND EARLY TO RISE,MAKES A MAN HEALTHY,WELTHY AND WISE.[\color]

windlerkyra
Posts:1
Joined:Tue Feb 15, 2022 4:34 pm

Re: The VAN ECK SEQUENCE

Unread post by windlerkyra » Tue Feb 15, 2022 4:44 pm

This is a nice sequence as discussed in the Numberphile video above. There are only 2 rules:
bubble shooter
If you have not seen the number in the sequence before, add a 0 to the sequence.
If you have seen the number in the sequence before, count how long since you last saw it.
You start with a 0.

Post Reply