login
A022420
Kim-sums: "Kimberling sums" K_n + K_9.
1
8, 23, 26, 28, 31, 34, 36, 39, 41, 44, 47, 49, 52, 55, 57, 60, 62, 65, 68, 70, 73, 75, 78, 81, 83, 86, 89, 91, 94, 96, 99, 102, 104, 107, 110, 112, 115, 117, 120, 123, 125, 128, 130, 133, 136, 138, 141, 144, 146, 149, 151, 154, 157, 159, 162, 164, 167, 170, 172
OFFSET
0,1
REFERENCES
Posting to math-fun mailing list Jan 10 1997.
MAPLE
Ki := proc(n, i)
option remember;
local phi ;
phi := (1+sqrt(5))/2 ;
if i= 0 then
n;
elif i=1 then
floor((n+1)*phi) ;
else
procname(n, i-1)+procname(n, i-2) ;
end if;
end proc:
Kisum := proc(n, m)
local ks, a, i;
ks := [seq( Ki(n, i)+Ki(m, i), i=0..5)] ;
for i from 0 to 2 do
for a from 0 do
if Ki(a, 0) = ks[i+1] and Ki(a, 1) = ks[i+2] then
return a;
end if;
if Ki(a, 0) > ks[i+1] then
break;
end if;
end do:
end do:
end proc:
A022420 := proc(n)
if n = 0 then
8;
else
Kisum(n-1, 8) ;
end if;
end proc:
seq(A022420(n), n=0..80) ; # R. J. Mathar, Sep 03 2016
CROSSREFS
Sequence in context: A306834 A109271 A029755 * A326741 A034811 A283848
KEYWORD
nonn
AUTHOR
STATUS
approved