login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A184579
a(n) = floor((n-1/3)*(2+sqrt(2))), complement of A184578.
2
2, 5, 9, 12, 15, 19, 22, 26, 29, 33, 36, 39, 43, 46, 50, 53, 56, 60, 63, 67, 70, 73, 77, 80, 84, 87, 91, 94, 97, 101, 104, 108, 111, 114, 118, 121, 125, 128, 132, 135, 138, 142, 145, 149, 152, 155, 159, 162, 166, 169, 172, 176, 179, 183, 186, 190, 193, 196, 200, 203, 207, 210, 213, 217, 220, 224, 227, 231, 234, 237, 241, 244, 248, 251, 254, 258, 261, 265, 268, 271, 275, 278, 282, 285, 289, 292, 295, 299, 302, 306, 309, 312, 316, 319, 323, 326, 330, 333, 336, 340, 343, 347, 350, 353, 357, 360, 364, 367, 371, 374, 377, 381, 384, 388, 391, 394, 398, 401, 405, 408
OFFSET
1,1
LINKS
FORMULA
a(n) = floor((n-1/3)*(2+sqrt(2))).
MATHEMATICA
r=2^(1/2); c=-1/3; s=r/(r-1);
Table[Floor[n*r-c*r], {n, 1, 120}] (* A184578 *)
Table[Floor[n*s+c*s], {n, 1, 120}] (* A184579 *)
PROG
(PARI) vector(120, n, floor((n-1/3)*(2+sqrt(2)))) \\ G. C. Greubel, Aug 19 2018
(Magma) [Floor((n-1/3)*(2+Sqrt(2))): n in [1..120]]; // G. C. Greubel, Aug 19 2018
CROSSREFS
Cf. A184578.
Sequence in context: A356089 A108165 A063957 * A186274 A373328 A184926
KEYWORD
nonn
AUTHOR
Clark Kimberling, Jan 17 2011
STATUS
approved