A307669 Lexicographically earliest sequence of positive terms, such that each value, say v, appears five times at indices k, k + v, k + 2*v, k + 3*v and k + 4*v for some k.
1, 1, 1, 1, 1, 2, 4, 2, 8, 2, 4, 2, 9, 2, 4, 10, 8, 3, 4, 14, 3, 9, 4, 3, 8, 10, 3, 11, 13, 3, 9, 19, 8, 14, 12, 10, 15, 20, 11, 9, 8, 13, 17, 21, 24, 10, 12, 14, 9, 11, 19, 15, 26, 30, 13, 10, 23, 20, 12, 17, 11, 14, 25, 28, 21, 29, 15, 13, 24, 19, 12, 11, 18
Offset: 1
Keywords
Examples
For n = 1: - we can set a(1) = a(2) = a(3) = a(4) = a(5) = 1. For n = 6: - we can set a(6) = a(8) = a(10) = a(12) = a(14) = 2. For n = 7: - a(10) is already known, hence a(7) <> 3, - we can set a(7) = a(11) = a(15) = a(19) = a(23) = 4.
Links
- Rémy Sigrist, Table of n, a(n) for n = 1..10000
- Rémy Sigrist, Colored scatterplot of the first 250000 terms (where the color is based on the ordinal transform of the sequence)
- Rémy Sigrist, PARI program for A307669
Programs
-
PARI
See Links section.
Comments