1

How to find the Kimberling Sequence by using Mathematica?

enter image description here

each row is obtained from the previous by boxing (and expelling) the main diagonal element, and then reading the first number after the box, the first before the box, the second after the box, the second before the box and so on until all the initial numbers are read off..

Kimberling Sequence is a diagonal elements form the sequence $=1,3,5,4,10...$

I have no idea how to define this sequence in Mathematica.

Thank you in advance to any one who may be able to give me some ideas

(There is a unsolved problem about this sequence, $ \textbf{ "Is every positive integer a term of this sequence?"}$ )

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
vito
  • 8,958
  • 1
  • 25
  • 67

2 Answers2

2

You can find the sequence plus a Mathematica program to generate it at this link. Best, Harvey

J. M.'s missing motivation
  • 124,525
  • 11
  • 401
  • 574
harveydale
  • 84
  • 2
2

On Programming Puzzles & Code Golf nice Q&A The Kimberling Sequence by DavidC