login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A061586 a(1) = 1, a(n)= number obtained by replacing each digit of a(n-1) with eight times its value. 5

%I

%S 1,8,64,4832,32642416,241648321632848,1632848326424168482416643264,

%T 84824166432642416483216328486432641632848483224164832,

%U 64326416328484832241648321632848326424168482416643264483224164832848241664326432642416163284832642416

%N a(1) = 1, a(n)= number obtained by replacing each digit of a(n-1) with eight times its value.

%H John Cerkan, <a href="/A061586/b061586.txt">Table of n, a(n) for n = 1..12</a>

%t NestList[FromDigits[Flatten[IntegerDigits/@(8*IntegerDigits[#])]]&,1,10] (* _Harvey P. Dale_, Sep 22 2012 *)

%o (Python)

%o def A061586_first(n):

%o an = "1"

%o cnt = 1

%o a061586 = []

%o while cnt < n:

%o a061586.append(int(an))

%o newan = ""

%o for i in an:

%o newan += str(8*int(i))

%o an = newan

%o cnt += 1

%o a061586.append(int(an))

%o return a061586 # _John Cerkan_, May 25 2018

%Y Cf. A061581-A061587.

%K nonn,base,easy

%O 1,2

%A _Amarnath Murthy_, May 13 2001

%E More terms from Larry Reeves (larryr(AT)acm.org) and Asher Natan Auel (auela(AT)reed.edu), May 15 2001

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 18 01:39 EDT 2021. Contains 347504 sequences. (Running on oeis4.)