OFFSET
1,2
COMMENTS
Solution to Exercise 1.2.3 on page 35 in Tattersall.
A Galileo sequence of ratio k > 0 has the property that 1/k = a(1)/a(2) = (a(1) + a(2))/(a(3) + a(4)) = (a(1) + a(2) + a(3))/(a(4) + a(5) + a(6)) = ...
REFERENCES
James J. Tattersall, Elementary Number Theory in Nine Chapters, Cambridge University Press, 1999, pages 23, 35.
LINKS
Stefano Spezia, Table of n, a(n) for n = 1..10000
William Cheah and David Treeby, Structure and Growth of Galileo Sequences, arXiv:2604.20889 [math.GM], 2026.
EXAMPLE
1/5 = (1 + 5)/(14 + 16) = (1 + 5 + 14)/(16 + 41 + 43) = ...
MATHEMATICA
k=5; a[1]=1; a[2]=k; a[n_]:=a[n]=If[OddQ[n], Floor[((k+1)*a[(n+1)/2]-1)/2], Floor[(k+1)*a[n/2]/2]+1]; Array[a, 51]
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Jul 06 2025
STATUS
approved
