|
|
A190325
|
|
n + [n*r/t] + [n*s/t]; r=1, s=sinh(Pi/2), t=cosh(Pi/2).
|
|
3
|
|
|
1, 3, 6, 8, 10, 13, 15, 18, 20, 22, 25, 27, 29, 31, 33, 36, 38, 41, 43, 45, 48, 50, 53, 55, 56, 59, 61, 64, 66, 68, 71, 73, 76, 78, 80, 83, 84, 87, 89, 91, 94, 96, 99, 101, 103, 106, 108, 111, 112, 114, 117, 119, 122, 124, 126, 129, 131, 134, 136, 138, 140, 142, 145, 147, 149, 152, 154, 157, 159, 161, 164, 166, 168, 170
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
A190323: f(n) = n + [n*sinh(Pi/2)] + [n*cosh(Pi/2)].
A190324: g(n) = n + [n*csch(Pi/2)] + [n*coth(Pi/2)].
A190325: h(n) = n + [n*sech(Pi/2)] + [n*tanh(Pi/2)].
|
|
MATHEMATICA
|
r=1; s=Sinh[Pi/2]; t=Cosh[Pi/2];
f[n_] := n + Floor[n*s/r] + Floor[n*t/r];
g[n_] := n + Floor[n*r/s] + Floor[n*t/s];
h[n_] := n + Floor[n*r/t] + Floor[n*s/t];
Table[f[n], {n, 1, 120}] (*A190323*)
Table[g[n], {n, 1, 120}] (*A190324*)
Table[h[n], {n, 1, 120}] (*A190325*)
|
|
PROG
|
(PARI) for(n=1, 100, print1(n + floor(n/cosh(Pi/2)) + floor(n*tanh(Pi/2)), ", ")) \\ G. C. Greubel, Apr 04 2018
(Magma) R:=RealField(); [n + Floor(n/Cosh(Pi(R)/2)) + Floor(n*Tanh(Pi(R)/2)): n in [1..100]]; // G. C. Greubel, Apr 04 2018
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|