|
|
A184618
|
|
a(n) = floor(n*r + h), where r=sqrt(2) and h=1/3; complement of A184619.
|
|
10
|
|
|
1, 3, 4, 5, 7, 8, 10, 11, 13, 14, 15, 17, 18, 20, 21, 22, 24, 25, 27, 28, 30, 31, 32, 34, 35, 37, 38, 39, 41, 42, 44, 45, 47, 48, 49, 51, 52, 54, 55, 56, 58, 59, 61, 62, 63, 65, 66, 68, 69, 71, 72, 73, 75, 76, 78, 79, 80, 82, 83, 85, 86, 88, 89, 90, 92, 93, 95, 96, 97
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Sequences of the form (floor(n*r + h)) are sometimes called nonhomogeneous Beatty sequences when h is not zero.
|
|
LINKS
|
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
|
|
FORMULA
|
a(n) = floor(n*r + h), where r=sqrt(2), h=1/3.
|
|
MATHEMATICA
|
r=2^(1/2); h=1/3; s=r/(r-1);
Table[Floor[n*r+h], {n, 1, 120}] (* A184618 *)
Table[Floor[n*s+h-h*s], {n, 1, 120}] (* A184619 *)
|
|
PROG
|
(MAGMA) [Floor(n*Sqrt(2)+1/3): n in [1..80]]; // Vincenzo Librandi, Jul 07 2011
(PARI) a(n)=floor(n*sqrt(2)+1/3) \\ Charles R Greathouse IV, Jul 07 2011
|
|
CROSSREFS
|
Cf. A184619.
Sequence in context: A039043 A116591 A136119 * A110882 A186499 A187911
Adjacent sequences: A184615 A184616 A184617 * A184619 A184620 A184621
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Clark Kimberling, Jan 18 2011
|
|
STATUS
|
approved
|
|
|
|