OFFSET
1,2
COMMENTS
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, page 23.
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/2 = (1 + 2)/(2 + 4) = (1 + 2 + 2)/(4 + 2 + 4) = ...
MATHEMATICA
k=2; 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, 75]
CROSSREFS
KEYWORD
AUTHOR
Stefano Spezia, Jul 04 2025
STATUS
approved
