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.

A182305 a(n+1) = a(n) + floor(a(n)/4) with a(0)=4.

This page as a plain text file.
%I A182305 #16 Sep 21 2022 12:26:33
%S A182305 4,5,6,7,8,10,12,15,18,22,27,33,41,51,63,78,97,121,151,188,235,293,
%T A182305 366,457,571,713,891,1113,1391,1738,2172,2715,3393,4241,5301,6626,
%U A182305 8282,10352,12940,16175,20218,25272,31590,39487
%N A182305 a(n+1) = a(n) + floor(a(n)/4) with a(0)=4.
%e A182305 a(8) = a(7)+floor(a(7)/4) = 15 + 3 = 18.
%t A182305 NestList[#+Floor[#/4]&,4,50] (* _Harvey P. Dale_, Oct 06 2020 *)
%o A182305 (Python)
%o A182305 a=4
%o A182305 for i in range(55):
%o A182305    print(a, end=',')
%o A182305    a += a//4
%o A182305 (Python)
%o A182305 from itertools import islice
%o A182305 def A182305_gen(): # generator of terms
%o A182305     a = 4
%o A182305     while True:
%o A182305         yield a
%o A182305         a += a>>2
%o A182305 A182305_list = list(islice(A182305_gen(),30)) # _Chai Wah Wu_, Sep 21 2022
%Y A182305 Cf. A061418, A100585.
%K A182305 nonn
%O A182305 0,1
%A A182305 _Alex Ratushnyak_, Apr 23 2012