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.

A008557 Repeatedly convert from decimal to octal.

This page as a plain text file.
%I A008557 #18 Aug 10 2021 11:07:42
%S A008557 8,10,12,14,16,20,24,30,36,44,54,66,102,146,222,336,520,1010,1762,
%T A008557 3342,6416,14420,34124,102514,310162,1135622,4252006,20160546,
%U A008557 114720042,665476452,4752456544,43321135540,502611010664,7240574662150,151272370273006
%N A008557 Repeatedly convert from decimal to octal.
%H A008557 Reinhard Zumkeller, <a href="/A008557/b008557.txt">Table of n, a(n) for n = 1..75</a>
%F A008557 a(n+1) = A007094(a(n)), a(1) = 8. - _Reinhard Zumkeller_, Aug 29 2013
%t A008557 NestList[ FromDigits[ IntegerDigits[ #, 8 ]] &, 8, 35 ]
%o A008557 (Haskell)
%o A008557 a008557 n = a008557_list !! (n-1)
%o A008557 a008557_list = iterate a007094 8  -- _Reinhard Zumkeller_, Aug 29 2013
%o A008557 (Python)
%o A008557 def aupton(terms):
%o A008557     alst = [8]
%o A008557     for n in range(2, terms+1): alst.append(int(oct(alst[-1])[2:]))
%o A008557     return alst
%o A008557 print(aupton(35)) # _Michael S. Branicky_, Aug 10 2021
%Y A008557 Cf. A007094, A008558.
%K A008557 nonn,base,nice,easy
%O A008557 1,1
%A A008557 sbv(AT)VNET.IBM.COM (Scott Vetter), msvetter(AT)eng.xyplex.com (Mark Vetter)