TransWikia.com

Find Local Maximum in an Integer Sequence

Puzzling Asked by Alexander S. Kulikov on May 15, 2021

An element of an integer sequence is called a local maximum if it is not smaller than all its neighbors. E.g., all local maximums of the following sequence are bolded.

3, * 4 *, 2, 1, * 3 *, 2, * 8 *, * 8 *, 1, * 4 *

Consider an integer sequence of length 16 whose elements we don’t know.

?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?

Find (any) local maximum by revealing at most seven of them.

Try it here: https://bit.ly/localmaximum

Bonus question: how would you implement an adversary strategy such that it is not possible to solve the puzzle in less than seven steps?

3 Answers

It is possible to solve up to $n=20$ cells using only $m=6$ moves.

In particular, it is not possible to answer the bonus question as stated.

Correct answer by Jaap Scherphuis on May 15, 2021

It can be achieved in $7$ reveals as follows

Bonus

Answered by hexomino on May 15, 2021

I found a different answer:

I don't know the answer to the bonus question unfortunately. I'm assuming that

Answered by happystar on May 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP