cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A248636 Least k such that 33/8- sum{(h^3)/3^h, h = 1..k} < 1/4^n.

This page as a plain text file.
%I A248636 #4 Oct 17 2014 23:19:33
%S A248636 7,9,10,12,13,15,17,18,19,21,22,24,25,27,28,29,31,32,34,35,36,38,39,
%T A248636 40,42,43,44,46,47,48,50,51,52,54,55,56,58,59,60,62,63,64,66,67,68,70,
%U A248636 71,72,73,75,76,77,79,80,81,83,84,85,87,88,89,90,92,93,94
%N A248636 Least k such that 33/8- sum{(h^3)/3^h, h = 1..k} < 1/4^n.
%C A248636 This sequence provides insight into the manner of convergence of sum{(h^3)/3^h, h = 1..k} to 33/8.  The difference sequence of A248636 entirely of 1s and 2s, so that A248637 and A248638 partition the positive integers.
%H A248636 Clark Kimberling, <a href="/A248636/b248636.txt">Table of n, a(n) for n = 1..1000</a>
%e A248636 Let s(n) = 33/8- sum{(h^3)/3^h, h = 1..n}.  Approximations follow:
%e A248636 n ... s(n) ........ 1/4^n
%e A248636 1 ... 3.79167 ... 0.250000
%e A248636 2 ... 2.90278 ... 0.062500
%e A248636 3 ... 1.90278 ... 0.015625
%e A248636 4 ... 1.11265 ... 0.003906
%e A248636 5 ... 0.59825 ... 0.000976
%e A248636 6 ... 0.30195 ... 0.000244
%e A248636 7 ... 0.14511 ... 0.000061
%e A248636 8 ... 0.06798 ... 0.000015
%e A248636 9 ... 0.03004 ... 0.000004
%e A248636 a(2) = 9 because s(9) < 1/16 < s(8).
%t A248636 z = 300; p[k_] := p[k] = Sum[(h^3/3^h), {h, 1, k}];
%t A248636 d = N[Table[33/8 - p[k], {k, 1, z/5}], 12]
%t A248636 f[n_] := f[n] = Select[Range[z], 33/8 - p[#] < 1/4^n &, 1];
%t A248636 u = Flatten[Table[f[n], {n, 1, z}]]  (* A248636 *)
%t A248636 d = Differences[u]
%t A248636 v = Flatten[Position[d, 1]] (* A248637 *)
%t A248636 w = Flatten[Position[d, 2]] (* A248638 *)
%Y A248636 Cf. A248632, A248630.
%K A248636 nonn,easy
%O A248636 1,1
%A A248636 _Clark Kimberling_, Oct 11 2014