Series of sorts- Return 1 or 2 based on even or odd n

  • Context: High School 
  • Thread starter Thread starter connordurkin
  • Start date Start date
  • Tags Tags
    even Series
Click For Summary

Discussion Overview

The discussion revolves around creating a mathematical series where the terms alternate based on whether the index \( n \) is odd or even. The specific requirement is that for odd \( n \), the term equals 1, and for even \( n \), the term equals 2. The scope includes mathematical reasoning and potential formulations for the series.

Discussion Character

  • Mathematical reasoning

Main Points Raised

  • One participant proposes a series defined as \( a_{n} = 1 \) if \( n \) is odd and \( a_{n} = 2 \) if \( n \) is even.
  • Another participant seeks assistance in formulating \( a_n \) to satisfy the stated conditions.
  • A third participant summarizes the series for inputs \( n = 1, 2, 3, 4, 5 \) as \( a_n = 1, 2, 1, 2, 1, 2 \) and suggests two possible formulations: \( 2 - n \mod(2) \) and \( 2 - [\sin^2(\frac{\pi n}{2})] \).
  • A later reply introduces another formulation, \( \frac{3 + (-1)^n}{2} \), as a potential solution.

Areas of Agreement / Disagreement

Participants present multiple formulations for the series, indicating that there is no single agreed-upon solution, and various approaches are being explored.

Contextual Notes

The discussion does not resolve the effectiveness or applicability of the proposed formulations, and assumptions regarding the definitions of terms and mathematical operations are not explicitly stated.

connordurkin
Messages
2
Reaction score
0
I would like to create a series where for each term if n is odd the term =1 and if n is even, the term = 2. I.e.

[itex]a_{n} = 1 if \ n \ is \ odd \ and \ a_{n} = 2 \ if \ n \ is \ even[/itex]
 
Physics news on Phys.org
Can anyone help me come up with some a_n such that this is true?
 
There is also ##\frac{3+(-1)^n}{2}##
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K