OFFSET
1,1
COMMENTS
An automorphic number is a number whose square ends in the same digits as the number itself.
The next term has 126 digits.
LINKS
Colin Barker, Table of n, a(n) for n = 1..10
Wikipedia, Automorphic number
PROG
(PARI)
seq(m, maxn) = L=List(); for(j=1, maxn, listput(L, m); m=(3*m^2-2*m^3)%10 ^ (2*sizedigit(m))); Vec(L)
seq(5, 8)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Colin Barker, Jun 24 2016
STATUS
approved