[go: up one dir, main page]

login
A023382
a(n+1) = a(n) converted to base 9 from base 5 (written in base 10).
1
5, 9, 13, 21, 37, 101, 325, 1701, 15553, 265521, 15145741, 4407319297, 8476862457125, 317357347477745133, 729744078980232421278033, 312985160558462528575346809331697, 165846387971749525630798815099063350900119181
OFFSET
1,1
LINKS
MAPLE
f:= proc(n) local L;
L:= convert(n, base, 5);
add(L[i]*9^(i-1), i=1..nops(L))
end proc:
A[1]:= 5:
for i from 2 to 20 do
A[i]:= f(A[i-1])
od:
seq(A[i], i=1..20); # Robert Israel, Nov 07 2016
MATHEMATICA
NestList[FromDigits[IntegerDigits[#, 5], 9]&, 5, 20] (* Harvey P. Dale, Oct 05 2015 *)
CROSSREFS
Sequence in context: A334214 A053411 A332571 * A314793 A314794 A314795
KEYWORD
nonn
EXTENSIONS
One additional term (a(17)) from Harvey P. Dale, Oct 05 2015
STATUS
approved