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.

A061681 a(0)=1; a(n) = a(n-1) + lead(a(n-1)) for n > 0 where for an integer x lead(x) is the leading digit in base 10.

This page as a plain text file.
%I A061681 #22 Jul 01 2018 17:19:45
%S A061681 1,2,4,8,16,17,18,19,20,22,24,26,28,30,33,36,39,42,46,50,55,60,66,72,
%T A061681 79,86,94,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,
%U A061681 118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134
%N A061681 a(0)=1; a(n) = a(n-1) + lead(a(n-1)) for n > 0 where for an integer x lead(x) is the leading digit in base 10.
%H A061681 Reinhard Zumkeller, <a href="/A061681/b061681.txt">Table of n, a(n) for n = 0..10000</a>
%F A061681 a(n+1) = A182324(a(n)), a(0) = 1.
%e A061681 a(100)=176; a(307)=996; a(1000)=1697; a(3132)=9995; a(10000)=16871.
%t A061681 NestList[#+First[IntegerDigits[#]]&,1,60] (* _Harvey P. Dale_, Aug 18 2011 *)
%o A061681 (PARI) { default(realprecision, 100); r=log(10); for (n=0, 1000, if (n==0, a=1, a+=a\10^(log(a)\r)); write("b061681.txt", n, " ", a) ) } \\ _Harry J. Smith_, Jul 26 2009
%o A061681 (Haskell)
%o A061681 a061681 n = a061681_list !! n
%o A061681 a061681_list = iterate a182324 1  -- _Reinhard Zumkeller_, Apr 25 2012
%K A061681 base,easy,nonn,nice,look
%O A061681 0,2
%A A061681 _Reinhard Zumkeller_, Jun 18 2001
%E A061681 More terms from _Naohiro Nomoto_, Sep 10 2001