A346169 a(n) = floor(cosh(n+1) - cosh(n)).
0, 2, 6, 17, 46, 127, 346, 942, 2561, 6961, 18923, 51440, 139829, 380095, 1033206, 2808546, 7634421, 20752508, 56411165, 153341447, 416825269, 1133048555, 3079945300, 8372159341, 22757888603, 61862355045, 168159315586, 457104411844, 1242538616426
Offset: 0
Keywords
Examples
For n = 3, a(3) = 17 because the difference between cosh(4) and cosh(3) is 17.24057..., and floor(17.24057...) = 17.
Crossrefs
Cf. A000501.
Programs
-
Mathematica
a[n_] := Floor[Cosh[n+1] - Cosh[n]]; Array[a, 30,0] (* Amiram Eldar, Jul 12 2021 *)
Extensions
More terms from Jinyuan Wang, Jul 08 2021