OFFSET
1,1
COMMENTS
There are 5!=120 terms in this finite sequence. Its origin is the fact that numbers whose decimal expansion is a permutation of 12345 are all of the form 9k+6.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..120 (full sequence)
FORMULA
a(n) + a(5!+1-n) = 7406.
a(n) == 1, 2, 3, 4 or 5 (mod 10).
a(n+6)-a(n) is an element of { 100, 110, 111, 200, 220, 222, 679 }.
a(n+6)-a(n) = 679 iff (n-1)%24 > 17, where % denotes the remainder upon division.
a(n+6)-a(n) = 200, 220 or 222 iff (n-1)%30 > 23, i.e. n==25,...,30 (mod 30).
PROG
CROSSREFS
KEYWORD
fini,full,nonn,base,easy
AUTHOR
M. F. Hasler, May 28 2010
STATUS
approved