What Comes Next?

September 20, 2019

This is a Microsoft interview question:

What is the next number in the sequence: 8, 13, 17, 22, 24, 26, 29, 31, 35, …?

Your task is to solve the puzzle. When you are finished, you are welcome to read or run a suggested solution, or to post your own solution or discuss the exercise in the comments below.

Advertisements

Pages: 1 2

4 Responses to “What Comes Next?”

  1. Tom Magee said

    Just looking at the ones digit I see the following:

    8 3 7 2 4 6 9 1 5

    Which is 1 to 9 in an unusual arrangement. If the pattern holds the next ten numbers would be

    38 43 47 etc.

  2. Anonymous said

    How are you supposed to figure this out in an interview?

  3. Milbrae said

    Or maybe the ones from oeis.org/a178968…..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: