In terms of n 1, 1, -1, -1, 1, 1, -1, -1,

  • Thread starter Thread starter ziggie125
  • Start date Start date
  • Tags Tags
    Terms
Click For Summary

Homework Help Overview

The discussion revolves around finding a general expression for the sequence 1, 1, -1, -1, 1, 1, -1, -1, which appears to alternate in a specific pattern. The subject area includes sequences and possibly trigonometric functions.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants explore various ways to define the sequence, including the use of powers of -1 and a function f(n) to represent the terms. There are suggestions to consider trigonometric functions, though some caution against specific methods.

Discussion Status

Participants are actively discussing potential definitions and formulas for the sequence. Some have proposed different approaches, and there is an acknowledgment of the need to find a simple formula for f(n). Multiple interpretations and methods are being explored without a clear consensus yet.

Contextual Notes

There is mention of constraints related to the sequence's behavior, particularly if the sequence diverges from the established pattern. The original poster expresses uncertainty about the approach, indicating a need for further clarification and exploration.

ziggie125
Messages
13
Reaction score
0

Homework Statement



Put in general terms 1, 1, -1, -1, 1, 1, -1, -1, ...

Homework Equations





The Attempt at a Solution



obviously (-1)^n, alternates 1, -1, 1, -1...

I have no idea how to figure this out. I thought it might have a sin function in it possibly.
Thanks a lot for your help.
 
Physics news on Phys.org
If you defined a function f(n) such that

f(0) = 0
f(1) = 0
f(2) = 1
f(3) = 1
f(4) = 2
f(5) = 2
...

then

[tex](-1)^{f(n)}[/tex]

would work, right? So try to find a simple formula for f(n).
 
The [itex]i^{th}[/itex] term (starting with [itex]i=1[/itex]) could be [itex]\sqrt{2}sin\{(2i-1)\frac{\pi}{4}\}[/itex], but don't use that. You could probably use something similar to generate the [itex]f(i-1)[/itex] that jbunniii has suggested.

Of course, if the first number after the dots start is 42 you're in trouble.
 
Hey thanks a lot for the help. Either method works fine, as long as you can figure out f(n) for the first one.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
9
Views
2K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K