A349257 Largest integer that can be expressed as Sum_{k=1..n} k/p(k), where p is a permutation of [n].
0, 1, 2, 3, 6, 7, 10, 11, 15, 18, 21, 22, 27, 28, 32, 36, 40, 41, 46, 47
Offset: 0
Programs
Formula
a(n) = 1 + a(n-1) if n is prime. - Alois P. Heinz, Nov 12 2021
Extensions
a(12)-a(19) from Alois P. Heinz, Nov 12 2021