login
A178486
(A178476(n)-3)/9.
5
13717, 13718, 13727, 13729, 13738, 13739, 13817, 13818, 13837, 13840, 13848, 13850, 13927, 13929, 13937, 13940, 13959, 13960, 14038, 14039, 14048, 14050, 14059, 14060, 14717, 14718, 14727, 14729, 14738, 14739, 14917, 14918, 14947, 14951, 14958, 14961
OFFSET
1,1
COMMENTS
The sequence is motivated by the fact that numbers whose decimal expansion is a permutation of 123456, are all of the form 9k+3.
There are 6!=720 terms in this finite sequence.
LINKS
Nathaniel Johnston, Table of n, a(n) for n = 1..720 (full sequence)
FORMULA
a(n) + a(6!+1-n) = 86419.
a(n) == 0, 1, 2, 7, 8 or 9 (mod 10).
PROG
(PARI) forstep( m=123456, 654321/*or less*/, 9, is_A178476(m) & print1(m\9", ")) /*cf. A178476*/
KEYWORD
fini,full,nonn,base,easy
AUTHOR
M. F. Hasler, May 28 2010
STATUS
approved