login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A350668 Numbers congruent to 2, 4, and 6 modulo 9: positions of 2 in A159955. 2
2, 4, 6, 11, 13, 15, 20, 22, 24, 29, 31, 33, 38, 40, 42, 47, 49, 51, 56, 58, 60, 65, 67, 69, 74, 76, 78, 83, 85, 87, 92, 94, 96, 101, 103, 105, 110, 112, 114, 119, 121, 123, 128, 130, 132, 137, 139, 141, 146, 148 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
This sequence, together with A350666 and A350667, gives a 3-set partition of the nonnegative integers.
This sequence {a(n)}_{n>=0} gives the indices of the row sequences of array A = A347834, that are modulo 6 periodic with period length 3, namely
{A347834(a(n), m) mod 6}_{m >= 0] = {repeat(3, 1, 5)}.
LINKS
FORMULA
A159955(a(n)) = 2.
Trisection: a(3*k) = 2 + 9*k, a(3*k + 1) = 4 + 9*k, and a(3*k + 3) = 6 + 9*k, for k >= 0.
G.f.: (2 + 2*x + 2*x^2 + 3*x^3)/((1 - x)*(1 - x^3)).
a(n) = 1 + 3*n + cos(2*n*Pi/3) + sin(2*n*Pi/3)/sqrt(3). - Stefano Spezia, Jan 30 2022
a(n) = 1 + 3*n + S(2*n, 1) = 1+3*n+A057078(n), with the Chebyshev S polynomials from A049310, using the partial fraction decomposition of the g.f., or the previous formula.
EXAMPLE
Rows of array {A347834(a(n), m)}_{m >= 0}, with modulo 6 congruence:
n = 0: row 2: {3, 13, 53, 213, 853, 3413, 13653, ...} mod 6 = {repeat{(3, 1, 5)},
n = 1: row 4: {9, 37, 149, 597, 2389, 9557, ...} (mod 6) = {repeat(3, 1, 5)},
...
MATHEMATICA
Select[Range[0, 150], MemberQ[{2, 4, 6}, Mod[#, 9]] &] (* Amiram Eldar, Jan 29 2022 *)
CROSSREFS
Sequence in context: A015903 A224860 A327309 * A078198 A171865 A344622
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Jan 29 2022
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 21:09 EDT 2024. Contains 371798 sequences. (Running on oeis4.)