Golomb Rulers and Fibonacci Sequences

A generalized Fibonacci sequence is defined by . A maximal generalized Fibonacci sequence mod is a generalized Fibonacci sequence with smallest period equal to length .
For example, with , , (or equivalently with prime 5 and pair ), the sequence starts of length 24 and then repeats. From that initial subsequence, construct the 24 overlapping coordinates: ; apart from , they are a permutation of the coordinates for a 5×5 table with rows and columns both indexed by 0 to 4. Since there are no smaller periods, all coordinates except are represented. Place the numbers at those coordinates and leave in the upper left blank.
A Golomb ruler is a set of marks at integer positions along a line, such that no two pairs of marks are the same distance apart. Selecting any row or column other than the first (with index 0) gives marks for a nonoptimal Golomb ruler of length that wraps around (i.e. the first and last marks are also subtracted). No distance between marks is repeated.
In the example under discussion, the second column (with index 1) is , which are the marks. The differences are . The negative differences mod 24 are . No values repeat; the missing values are .


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


[1] T. Rokicki and G. Dogon, "Possibly Optimal Golomb Rulers Calculated for 160 to 40,000 Marks," (Jul 7, 2016) cube20.org/golomb.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+