A189999 a(n) = n + [n*s/r] + [n*t/r]; r=1, s=sinh(1), t=cosh(1).
3, 7, 10, 14, 17, 22, 25, 29, 32, 36, 39, 44, 48, 51, 55, 58, 62, 66, 70, 73, 77, 80, 85, 89, 92, 96, 99, 103, 107, 111, 114, 118, 121, 125, 130, 133, 137, 140, 144, 148, 152, 155, 159, 162, 166, 170, 174, 178, 181, 185, 188, 193, 196, 200, 203, 207, 210, 215, 219, 222, 226, 229, 234, 237, 241, 244, 248, 251, 256, 260, 263, 267, 270
Offset: 1
Keywords
Links
- G. C. Greubel, Table of n, a(n) for n = 1..10000
Programs
-
Magma
[n + Floor(n*Sinh(1)) + Floor(n*Cosh(1)): n in [1..100]]; // G. C. Greubel, Jan 11 2018
-
Mathematica
r=1; s=Sinh[1]; t=Cosh[1]; a[n_] := n + Floor[n*s/r] + Floor[n*t/r]; b[n_] := n + Floor[n*r/s] + Floor[n*t/s]; c[n_] := n + Floor[n*r/t] + Floor[n*s/t]; Table[a[n], {n, 1, 120}] (*A189999*) Table[b[n], {n, 1, 120}] (*A190000*) Table[c[n], {n, 1, 120}] (*A190001*)
-
PARI
for(n=1,100, print1(n + floor(n*sinh(1)) + floor(n*cosh(1)), ", ")) \\ G. C. Greubel, Jan 11 2018
Comments