login
A130727
List of triples 2n+1, 2n+3, 2n+2.
0
1, 3, 2, 3, 5, 4, 5, 7, 6, 7, 9, 8, 9, 11, 10, 11, 13, 12, 13, 15, 14, 15, 17, 16, 17, 19, 18, 19, 21, 20, 21, 23, 22, 23, 25, 24, 25, 27, 26, 27, 29, 28, 29, 31, 30, 31, 33, 32, 33, 35, 34, 35, 37, 36, 37, 39, 38, 39, 41, 40, 41, 43, 42, 43, 45, 44, 45, 47, 46, 47, 49, 48, 49, 51
OFFSET
0,2
FORMULA
a(n) = (2/9)*(3*n+6-3*cos(2*(n+4)*Pi/3)-2*sqrt(3)*sin(2*(n+4)*Pi/3)). - Wesley Ivan Hurt, Sep 26 2017
MATHEMATICA
LinearRecurrence[{1, 0, 1, -1}, {1, 3, 2, 3}, 80] (* Harvey P. Dale, Aug 12 2016 *)
{#[[1]], #[[3]], #[[2]]}&/@Partition[Range[60], 3, 2]//Flatten (* Harvey P. Dale, Jul 17 2021 *)
CROSSREFS
Sequence in context: A128151 A071166 A140358 * A155515 A023605 A223542
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Aug 17 2007
EXTENSIONS
Edited by N. J. A. Sloane, Sep 15 2007
STATUS
approved