A134810 Giza numbers.
1, 2, 3, 4, 5, 6, 7, 8, 9, 121, 232, 343, 454, 565, 676, 787, 898, 12321, 23432, 34543, 45654, 56765, 67876, 78987, 1234321, 2345432, 3456543, 4567654, 5678765, 6789876, 123454321, 234565432, 345676543, 456787654, 567898765, 12345654321, 23456765432
Offset: 1
Examples
Illustration using the final term of this sequence: . . . . . . . . 9 . . . . . . . . . . . . . . . 8 . 8 . . . . . . . . . . . . . 7 . . . 7 . . . . . . . . . . . 6 . . . . . 6 . . . . . . . . . 5 . . . . . . . 5 . . . . . . . 4 . . . . . . . . . 4 . . . . . 3 . . . . . . . . . . . 3 . . . 2 . . . . . . . . . . . . . 2 . 1 . . . . . . . . . . . . . . . 1
Links
- Nathaniel Johnston, Table of n, a(n) for n = 1..45 (full sequence)
Programs
-
Mathematica
ups = Flatten[Table[Range[i, j - 1], {i, 1, 9}, {j, i + 1, 10}], 1];afull = Sort[ Map[ToExpression@StringJoin@Map[ToString, #[[;; -2]] ~Join~ Reverse[#]] &, ups]];afull (* James C. McMahon, Apr 11 2025 *)
-
Python
ups = [tuple(range(i, j)) for i in range(1, 10) for j in range(i+1, 11)] afull = sorted(int("".join(map(str, u[:-1] + u[::-1]))) for u in ups) print(afull) # Michael S. Branicky, Aug 02 2022
Comments