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
KEYWORD
nonn,base,easy
AUTHOR
Amarnath Murthy, May 13 2001
EXTENSIONS
More terms from Larry Reeves (larryr(AT)acm.org) and Asher Auel, May 15 2001
STATUS
approved