A091826 (1/p)*(1+A000254(p)-p) as p runs through the primes.
1, 3, 54, 1866, 10958530, 1523289156, 71965034739952, 22713955095665178, 4197346376195350706086, 1207862068271027767810096022068, 1068238305254443248937595170683870, 1562962037194040089900589886917581740972972, 3510829028264238204864812583698673210331036097560
Offset: 1
Keywords
Links
- Amiram Eldar, Table of n, a(n) for n = 1..87
Programs
-
Maple
a:= n-> (p-> (1+abs(Stirling1(p+1, 2))-p)/p)(ithprime(n)): seq(a(n), n=1..14); # Alois P. Heinz, Feb 27 2023
-
Mathematica
f[n_] := Abs[StirlingS1[n + 1, 2]] - n + 1; Table[f[p]/p, {p, Prime[Range[13]]}] (* Amiram Eldar, Apr 25 2025 *)