OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
MATHEMATICA
PROG
(Haskell)
import Data.List.Ordered (minus)
a185550 n = a185550_list !! (n-1)
a185550_list = [0..] `minus` a185549_list
-- Reinhard Zumkeller, Jul 24 2015
(Python)
from sympy import integer_nthroot
def A185550(n):
def f(x): return n+integer_nthroot(x**2, 3)[0]
def iterfun(f, n=0):
m, k = n, f(n)
while m != k: m, k = k, f(k)
return m
return iterfun(f, n) # Chai Wah Wu, Sep 09 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 30 2011
STATUS
approved