|
|
A061586
|
|
a(1) = 1, a(n)= number obtained by replacing each digit of a(n-1) with eight times its value.
|
|
6
|
|
|
1, 8, 64, 4832, 32642416, 241648321632848, 1632848326424168482416643264, 84824166432642416483216328486432641632848483224164832, 64326416328484832241648321632848326424168482416643264483224164832848241664326432642416163284832642416
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
John Cerkan, Table of n, a(n) for n = 1..12
|
|
MATHEMATICA
|
NestList[FromDigits[Flatten[IntegerDigits/@(8*IntegerDigits[#])]]&, 1, 10] (* Harvey P. Dale, Sep 22 2012 *)
|
|
PROG
|
(Python)
def A061586_first(n):
an = "1"
cnt = 1
a061586 = []
while cnt < n:
a061586.append(int(an))
newan = ""
for i in an:
newan += str(8*int(i))
an = newan
cnt += 1
a061586.append(int(an))
return a061586 # John Cerkan, May 25 2018
|
|
CROSSREFS
|
Cf. A061581-A061587.
Sequence in context: A154710 A069033 A087337 * A132545 A034376 A202783
Adjacent sequences: A061583 A061584 A061585 * A061587 A061588 A061589
|
|
KEYWORD
|
nonn,base,easy
|
|
AUTHOR
|
Amarnath Murthy, May 13 2001
|
|
EXTENSIONS
|
More terms from Larry Reeves (larryr(AT)acm.org) and Asher Natan Auel (auela(AT)reed.edu), May 15 2001
|
|
STATUS
|
approved
|
|
|
|