OFFSET
1,2
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..1000
Vaclav Kotesovec, Plot of a(n)^(1/n) for n = 1..10000
FORMULA
a(n) = reverse(7 * a(n-1)) with a(1) = 1.
EXAMPLE
a(4) = reverse(7 * a(3)) = reverse(7 * reverse(7 * a(2))) = reverse(7 * reverse(7 * reverse(7 * a(1)))) = reverse(7 * reverse(7 * reverse(7))) = reverse(7*94) = 856.
PROG
(PARI) seq(n)={my(a=vector(n)); a[1]=1; for(n=2, #a, a[n]=fromdigits(Vecrev(digits(a[n-1]*7)))); a} \\ Andrew Howroyd, Jan 02 2020
(Magma) f:=func<n|Seqint(Reverse(Intseq(7*n)))>; a:=[1]; for n in [2..20] do Append(~a, f(a[n-1])); end for; a; // Marius A. Burtea, Jan 03 2020
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Rachit Agrawal (rachit_agrawal(AT)daiict.ac.in), Oct 31 2007
EXTENSIONS
Name edited by Andrew Howroyd, Jan 02 2020
STATUS
approved