login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A124048
a(n) = count of instances where the i-th permutation is divisible by i, treating the permutations of {0,1,...n-1} as integers base n in ascending order.
0
1, 2, 1, 7, 4, 11, 8, 26, 23, 30, 14, 28, 45
OFFSET
1,2
EXAMPLE
For n = 5, the first, 2nd, 7th and 18th permutations base 5 {01234, 01243, 02134, 03421} = decimal {194, 198, 294, 486} are divisible by 1,2,7 and 18 respectively. a(5) = 4.
CROSSREFS
Cf. A124453.
Sequence in context: A343202 A075085 A217458 * A087059 A120872 A204771
KEYWORD
nonn
AUTHOR
David Scambler, Nov 02 2006
EXTENSIONS
a(13) from Alois P. Heinz, May 05 2012
STATUS
approved