LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 371 users online 222738 members 393 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Suicidebooth
This girl owns my heart
Mood: Lifeless
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
5 online / 13 MPM
Fresh Topics
  LiveWire / Teen Forums / Deep Thoughts & Random Musings / Viewing Topic

this will really show how good my math is but...
Replies: 11Last Post Nov. 6 1:24am by Ethryx
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( King Kong )


Ghostbuster

Patron
Reply
what is the formula for creating a series of odd numbers between 0 and 100

1,3,5,7,9 ect

all the ways i can think of brings up an even number

Post edited at 1:08 am on Nov. 6, 2009 by King Kong

-------
Pandora didn't think outside the box


1:02 am on Nov. 6, 2009 | Joined: Feb. 2006 | Days Active: 1,091
Join to learn more about King Kong Wales | Straight Male | Posts: 26,344 | Points: 38,354
LiveWire Humor
matto

Enlightened One

Patron
Reply
a series

i forget

-------
"Say what you like about the tenets of National Socialism, Dude,
at least it's an ethos."
--Walter Sobchak


1:06 am on Nov. 6, 2009 | Joined: Aug. 2007 | Days Active: 496
Join to learn more about matto California, United States | Male | Posts: 9,856 | Points: 15,601
feeltheshane


Visionary

Patron
Reply
tn = t1 + d(n-1)

or something like that.

-------
You're always on my mind, girl.


1:11 am on Nov. 6, 2009 | Joined: July 2009 | Days Active: 114
Join to learn more about feeltheshane New Zealand | Male | Posts: 5,697 | Points: 8,634
musefan13

Connoisseur

Patron
Reply
Oh fuck me

-------
Atheism The alternative to wishful thinking

1:11 am on Nov. 6, 2009 | Joined: May 2009 | Days Active: 96
Join to learn more about musefan13 Germany | Straight Male | Posts: 6,984 | Points: 6,468
( King Kong )


Ghostbuster

Patron
Reply
I need this for my Java work.

even numbers are so easy. but odd



-------
Pandora didn't think outside the box


1:12 am on Nov. 6, 2009 | Joined: Feb. 2006 | Days Active: 1,091
Join to learn more about King Kong Wales | Straight Male | Posts: 26,344 | Points: 38,354
JTHM


Soothsayer

Support Leader
Reply
It's a geometric series but I don't remember the formula. :/ I guess try a google search with that? Sorry I can't be of more help.

-------
ಠ_ಠ ಠ_ಠ ಠ_ಠ

1:14 am on Nov. 6, 2009 | Joined: April 2007 | Days Active: 543
Join to learn more about JTHM New York, United States | GLBT Ally Female | Posts: 6,311 | Points: 13,819
Ethryx


Enlightened One

Patron
Tech Support Leader
Reply
Use a for loop. Start at 1. Run loop while x < 100. Increment by 2.

Post edited at 1:15 am on Nov. 6, 2009 by Ethryx

-------
Learn from yesterday, live for today, hope for tomorrow..


1:15 am on Nov. 6, 2009 | Joined: Jan. 2007 | Days Active: 613
Join to learn more about Ethryx New York, United States | Straight Male | Posts: 5,224 | Points: 15,043
feeltheshane


Visionary

Patron
Reply
what about...

tn = t1 x r^n-1

Urgh I did this maths like 4 years ago. My brain hurts.

-------
You're always on my mind, girl.


1:16 am on Nov. 6, 2009 | Joined: July 2009 | Days Active: 114
Join to learn more about feeltheshane New Zealand | Male | Posts: 5,697 | Points: 8,634
( King Kong )


Ghostbuster

Patron
Reply
Quote: from Ethryx at 9:15 am on Nov. 6, 2009

Use a for loop. Start at 1. Run loop while x < 100. Increment by 2.

System.out.println("Program starting" );
System.out.println("Loop to print values all the even numbers between 0 to 100 inclusive" );
int no3 = 1;

// setting the while loop

while (no3 < 100)
// the loop it's self

{
System.out.println("Number is" + no3 );
no3 = no3 + 2;
}

this then. ok

-------
Pandora didn't think outside the box


1:16 am on Nov. 6, 2009 | Joined: Feb. 2006 | Days Active: 1,091
Join to learn more about King Kong Wales | Straight Male | Posts: 26,344 | Points: 38,354
Ethryx


Enlightened One

Patron
Tech Support Leader
Reply
Quote: from King Kong at 4:16 am on Nov. 6, 2009

Quote: from Ethryx at 9:15 am on Nov. 6, 2009

Use a for loop. Start at 1. Run loop while x < 100. Increment by 2.

System.out.println("Program starting" );
System.out.println("Loop to print values all the even numbers between 0 to 100 inclusive" );
int no3 = 1;

// setting the while loop

while (no3 < 100)  
// the loop it's self

{
System.out.println("Number is" + no3 );
no3 = no3 + 2;
}

this then. ok


That should work just fine. There is a lot shorter way of doing that however. Let me know if you want to know.

-------
Learn from yesterday, live for today, hope for tomorrow..

1:18 am on Nov. 6, 2009 | Joined: Jan. 2007 | Days Active: 613
Join to learn more about Ethryx New York, United States | Straight Male | Posts: 5,224 | Points: 15,043
( King Kong )


Ghostbuster

Patron
Reply
Quote: from Ethryx at 9:18 am on Nov. 6, 2009

Quote: from King Kong at 4:16 am on Nov. 6, 2009

Quote: from Ethryx at 9:15 am on Nov. 6, 2009

Use a for loop. Start at 1. Run loop while x < 100. Increment by 2.
 

 System.out.println("Program starting" );  
 System.out.println("Loop to print values all the even numbers between 0 to 100 inclusive" );  
 int no3 = 1;  

 // setting the while loop  

 while (no3 < 100)
 // the loop it's self  

 {  
 System.out.println("Number is" + no3 );  
 no3 = no3 + 2;  
 }  

 this then. ok


That should work just fine. There is a lot shorter way of doing that however. Let me know if you want to know.

Got to do while loops.

-------
Pandora didn't think outside the box


1:21 am on Nov. 6, 2009 | Joined: Feb. 2006 | Days Active: 1,091
Join to learn more about King Kong Wales | Straight Male | Posts: 26,344 | Points: 38,354
Ethryx


Enlightened One

Patron
Tech Support Leader
Reply
Quote: from King Kong at 4:21 am on Nov. 6, 2009

Quote: from Ethryx at 9:18 am on Nov. 6, 2009

Quote: from King Kong at 4:16 am on Nov. 6, 2009

Quote: from Ethryx at 9:15 am on Nov. 6, 2009

Use a for loop. Start at 1. Run loop while x < 100. Increment by 2.

  System.out.println("Program starting" );
  System.out.println("Loop to print values all the even numbers between 0 to 100 inclusive" );
  int no3 = 1;

  // setting the while loop

  while (no3 < 100)    
  // the loop it's self

  {
  System.out.println("Number is" + no3 );
  no3 = no3 + 2;
  }

  this then. ok


That should work just fine. There is a lot shorter way of doing that however. Let me know if you want to know.

Got to do while loops.


Oh okay. Then yeah, that's how you would do it  

-------
Learn from yesterday, live for today, hope for tomorrow..

1:24 am on Nov. 6, 2009 | Joined: Jan. 2007 | Days Active: 613
Join to learn more about Ethryx New York, United States | Straight Male | Posts: 5,224 | Points: 15,043
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Teen Forums / Deep Thoughts & Random Musings / Viewing Topic