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!)
A350666 Numbers congruent to 0, 5, and 7 modulo 9: positions of 0 in A159955. 2
0, 5, 7, 9, 14, 16, 18, 23, 25, 27, 32, 34, 36, 41, 43, 45, 50, 52, 54, 59, 61, 63, 68, 70, 72, 77, 79, 81, 86, 88, 90, 95, 97, 99, 104, 106, 108, 113, 115, 117, 122, 124, 126, 131, 133, 135, 140, 142, 144, 149 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,2
COMMENTS
This sequence, together with A350667 and A350668, gives a 3-set partition of the nonnegative integers.
This sequence {a(n)}, for n >= 1, 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(0, 3, 1)}.
LINKS
FORMULA
A159955(a(n)) = 0.
Trisection: a(3*k) = 9*k, a(3*k+1) = 5 + 9*k, and a(3*k+2) = 7 + 9*k, for k >= 0.
G.f.: x*(5 + 2*x + 2*x^2)/((1 - x)*(1 - x^3)).
a(n) = 1 + 3*n - U(n, -1/2) = 1+3*n-A049347(n), where U(n, x) is a Chebyshev U-polynomial. - Stefano Spezia, Jan 30 2022
a(n) = 1 + 3*n - (2/sqrt(3))*sin(2*(n+1)*Pi/3) (from the previous formula).
EXAMPLE
Rows of array {A347834(a(n), m)}_{m>=0}, with modulo 6 congruence:
n = 1: row 5: {11, 45, 181, 725, 2901, 11605,...} mod 6 = {5, 3, 1, 5, 3, 1, ...},
n = 2: row 7: {17, 69, 277, 1109, 4437, 17749, ...} mod 6 = {repeat(5, 3, 1)},
...
MATHEMATICA
Select[Range[0, 150], MemberQ[{0, 5, 7}, Mod[#, 9]] &] (* Amiram Eldar, Jan 29 2022 *)
Table[1 + 3n - ChebyshevU[n, -1/2], {n, 0, 49}] (* Stefano Spezia, Jan 30 2022 *)
CROSSREFS
Sequence in context: A155732 A218851 A211184 * A327307 A029606 A247283
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 24 10:11 EDT 2024. Contains 371935 sequences. (Running on oeis4.)