OFFSET
1,2
LINKS
Saeed Hatami Boura, Table of n, a(n) for n = 1..10631
Wikipedia, Juggler sequence.
EXAMPLE
Irregular table T(n,k) begins:
n\k 0 1 2 3 4 5 6 7 8 9 10 11
-----------------------------------------------------------------
1: 1
2: 2 1
3: 3 5 11 36 6 2 1
4: 4 2 1
5: 5 11 36 6 2 1
6: 6 2 1
7: 7 18 4 2 1
8: 8 2 1
9: 9 27 140 11 36 6 2 1
10: 10 3 5 11 36 6 2 1
11: 11 36 6 2 1
12: 12 3 5 11 36 6 2 1
13: 13 46 6 2 1
14: 14 3 5 11 36 6 2 1
15: 15 58 7 18 4 2 1
16: 16 4 2 1
17: 17 70 8 2 1
18: 18 4 2 1
19: 19 82 9 27 140 11 36 6 2 1
20: 20 4 2 1
21: 21 96 9 27 140 11 36 6 2 1
22: 22 4 2 1
23: 23 110 10 3 5 11 36 6 2 1
24: 24 4 2 1
25: 25 125 1397 52214 228 15 58 7 18 4 2 1
PROG
(Python)
import math
def row(n):
if n==1: return [1]
l=[n]
while True:
if n%2: n=math.isqrt(n**3)
else: n=math.isqrt(n)
if n not in l:
l+=[n]
if n==1: break
else:
break
return l
for n in range(1, 101): print(row(n))
CROSSREFS
KEYWORD
nonn,tabf
AUTHOR
Saeed Hatami Boura, Oct 02 2025
STATUS
approved
