Go Back   Science Forums > Physical Sciences Forums > Physics and Mathematics
Reply
 
LinkBack Thread Tools
Old 07-21-2009   #21 (permalink)
Jay-qu's Avatar
Ancora Imparo

Moderator
Editor
Gallery Curator

Location:
Australia
 
Jay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond repute
 



Not Ranked  0 score     
Re: Non-Figurate Numbers

Quote:
Originally Posted by Turtle View Post
nice. i see no blaring errors and accept the proof until otherwise notified. this gives us the authorization we need to simply subtract the set of primes from the non-figurate set as i suggested (well, went ahead & did) and then we can focus on what's left to try & find some patterns. can you guys re-write your code to do that subtraction of the primes from the non-figurate set on the fly? over......
Thank you Turtle

The prime number detector is an easy addition, I have one that I wrote last year - but first what do you expect to gain from removing the primes?


----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums

"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln

Physics Guides - Physics Resources and help
Reply With Quote
Old 07-21-2009   #22 (permalink)
Jay-qu's Avatar
Ancora Imparo

Moderator
Editor
Gallery Curator

Location:
Australia
 
Jay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond repute
 



Not Ranked  0 score     
Re: Non-Figurate Numbers

here it is, sorry for the bad formatting was in a hurry
Code:
[8,
 14,
 20,
 26,
 32,
 38,
 44,
 50,
 56,
 62,
 68,
 74,
 77,
 80,
 86,
 98,
 104,
 110,
 116,
 119,
 122,
 128,
 134,
 140,
 143,
 146,
 147,
 150,
 152,
 158,
 159,
 161,
 162,
 164,
 168,
 170,
 174,
 177,
 180,
 182,
 183,
 187,
 188,
 192,
 194,
 198,
 200,
 203,
 206,
 207,
 209,
 212,
 213,
 218,
 219,
 221,
 222,
 224,
 228,
 230,
 234,
 236,
 237,
 240,
 242,
 243,
 248,
 249,
 252,
 254,
 258,
 264,
 266,
 267,
 270,
 272,
 273,
 278,
 279,
 282,
 284,
 290,
 292,
 294,
 296,
 298,
 299,
 302,
 303,
 304,
 308,
 309,
 310,
 312,
 314,
 318,
 319,
 320,
 323,
 326,
 327,
 328,
 329,
 332,
 334,
 338,
 339,
 340,
 346,
 348,
 350,
 352,
 354,
 356,
 357,
 358,
 360,
 362,
 363,
 368,
 371,
 374,
 377,
 380,
 382,
 384,
 386,
 387,
 388,
 390,
 391,
 392,
 393,
 394,
 398,
 399,
 402,
 404,
 407,
 410,
 412,
 413,
 414,
 416,
 417,
 418,
 420,
 422,
 423,
 424,
 429,
 430,
 432,
 434,
 436,
 437,
 438,
 440,
 442,
 444,
 446,
 447,
 450,
 452,
 453,
 454,
 458,
 459,
 462,
 464,
 466,
 468,
 470,
 472,
 473,
 476,
 478,
 480,
 482,
 483,
 485,
 488,
 489,
 492,
 493,
 494,
 495,
 497,
 498,
 500,
 502,
 504,
 507,
 508,
 510,
 514,
 515,
 517,
 518,
 519,
 520,
 522,
 524,
 525,
 526,
 527,
 530,
 533,
 534,
 535,
 536,
 537,
 538,
 539,
 542,
 543,
 544,
 545,
 548,
 551,
 552,
 554,
 555,
 556,
 558,
 562,
 564,
 565,
 566,
 567,
 570,
 572,
 573,
 575,
 578,
 579,
 580,
 581,
 582,
 583,
 584,
 586,
 588,
 589,
 592,
 594,
 597,
 598,
 600,
 602,
 603,
 604,
 605,
 608,
 609,
 610,
 611,
 612,
 614,
 615,
 618,
 620,
 622,
 623,
 626,
 627,
 628,
 629,
 632,
 633,
 634,
 635,
 638,
 639,
 642,
 644,
 646,
 648,
 649,
 650,
 654,
 655,
 656,
 660,
 662,
 663,
 664,
 665,
 667,
 668,
 669,
 670,
 674,
 675,
 678,
 682,
 684,
 686,
 687,
 688,
 689,
 690,
 692,
 694,
 695,
 698,
 699,
 702,
 704,
 705,
 706,
 707,
 710,
 712,
 713,
 714,
 716,
 717,
 718,
 720,
 722,
 723,
 724,
 725,
 728,
 731,
 732,
 734,
 735,
 737,
 740,
 744,
 745,
 746,
 747,
 748,
 749,
 752,
 753,
 754,
 755,
 756,
 758,
 759,
 760,
 762,
 766,
 767,
 768,
 770,
 771,
 772,
 774,
 776,
 777,
 778,
 779,
 785,
 786,
 788,
 789,
 790,
 791,
 794,
 795,
 796,
 798,
 799,
 800,
 802,
 803,
 806,
 807,
 808,
 810,
 812,
 813,
 814,
 815,
 816,
 817,
 818,
 819,
 822,
 824,
 825,
 828,
 830,
 831,
 832,
 834,
 835,
 838,
 840,
 842,
 843,
 844,
 845,
 846,
 849,
 850,
 851,
 854,
 858,
 860,
 862,
 864,
 866,
 867,
 869,
 872,
 875,
 878,
 879,
 880,
 882,
 884,
 885,
 886,
 888,
 890,
 892,
 893,
 894,
 895,
 896,
 897,
 898,
 899,
 901,
 902,
 905,
 906,
 908,
 912,
 913,
 914,
 915,
 916,
 917,
 918,
 920,
 921,
 922,
 923,
 926,
 927,
 928,
 930,
 933,
 934,
 935,
 938,
 939,
 940,
 942,
 943,
 944,
 948,
 950,
 951,
 954,
 956,
 957,
 958,
 959,
 962,
 963,
 964,
 965,
 966,
 968,
 972,
 974,
 975,
 978,
 979,
 980,
 982,
 984,
 985,
 986,
 987,
 989,
 992,
 993,
 995,
 996,
 998,
 999


----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums

"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln

Physics Guides - Physics Resources and help
Reply With Quote
Old 07-21-2009   #23 (permalink)
modest's Avatar
Creating

Moderator

Location:
U.S. Midwest
 
modest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond repute
 



Not Ranked  0 score     
Re: Non-Figurate Numbers

I also don't see the use in removing the primes. Whatever pattern is there to be found would include the primes—the primes would be part of the pattern that is.

~modest


----------------
Reply With Quote
Old 07-21-2009   #24 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Thumbs up Re: Non-Figurate Numbers

hi fellas!

well, my first answer to why is always because i can. my thinking though, is that since all-about-primes is well established , whereas all-about-non-figurate-numbers is not established, then setting aside the primes to look at what is left may reveal something about the whole that is otherwise obscured. i don't know what i/we will see; that's why i/we are gonna look.

as to your programs, maybe make it a switch to display, or not to display the primes. save the primes in a separate array/file if you want in such a way that we can put them back in the non-figurate set when we need them.

i will get that list copied in my notepad asap and commence to gazing at it. . . . . .


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter
Reply With Quote
Old 07-21-2009   #25 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Exclamation Re: Non-Figurate Numbers

hold everything. j-q's edited list doesn't agree with modest's first unedited list.

j-q has 147 as non-figurate and non-prime. it is non-prime, but if it's non-figurate then it should be in modest's original list & it's not. several other similar mismatches between the lists. somebody has got something wrong, but i don't know which who be it.


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter
Reply With Quote
Old 07-21-2009   #26 (permalink)
modest's Avatar
Creating

Moderator

Location:
U.S. Midwest
 
modest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond repute
 



Not Ranked  0 score     
It's me. Looking at my code:

Code:
for($checknum = 6; $checknum < 1000; $checknum++){
  $found = 0;
  for($n = 2; $n < $checknum and $found == 0; $n++) {
    for($s = 2; $s < $checknum and $found == 0; $s++) {
    if (($n/2)*(($s-2)*$n-$s+4) == $checknum) {$found = 1;}
    }
  }
  if ($found == 0) {print "$checknum, ";}
}
I start n and s at 2... they should be started at 3, yeah? That'll change a lot! Let me change it...

~modest

EDIT ********* ---->

Ok. Sorry 'bout that. This is hopefully correct. I'll update my images with the patterns:


Code:
7, 8, 11, 13, 14, 17, 19, 20, 23, 26, 29, 31, 32, 37, 38, 41, 43, 44, 47, 50, 53
, 56, 59, 61, 62, 67, 68, 71, 73, 74, 77, 79, 80, 83, 86, 89, 97, 98, 101, 103,
104, 107, 109, 110, 113, 116, 119, 122, 127, 128, 131, 134, 137, 139, 140, 143,
146, 149, 151, 152, 157, 158, 161, 163, 164, 167, 170, 173, 179, 181, 182, 187,
188, 191, 193, 194, 197, 199, 200, 203, 206, 209, 211, 212, 218, 221, 223, 224,
227, 229, 230, 233, 236, 239, 241, 242, 248, 251, 254, 257, 263, 266, 269, 271,
272, 277, 278, 281, 283, 284, 290, 293, 296, 299, 302, 307, 308, 311, 313, 314,
317, 319, 320, 323, 326, 329, 331, 332, 337, 338, 347, 349, 350, 353, 356, 359,
362, 367, 368, 371, 373, 374, 377, 379, 380, 383, 386, 389, 391, 392, 397, 398,
401, 404, 407, 409, 410, 413, 416, 419, 421, 422, 431, 433, 434, 437, 439, 440,
443, 446, 449, 452, 457, 458, 461, 463, 464, 467, 470, 473, 476, 479, 482, 487,
488, 491, 493, 494, 497, 499, 500, 503, 509, 517, 518, 521, 523, 524, 527, 530,
533, 536, 539, 541, 542, 547, 548, 551, 554, 557, 563, 566, 569, 571, 572, 577,
578, 581, 583, 584, 587, 589, 593, 599, 601, 602, 607, 608, 611, 613, 614, 617,
619, 620, 623, 626, 629, 631, 632, 638, 641, 643, 644, 647, 649, 650, 653, 656,
659, 661, 662, 667, 668, 673, 674, 677, 683, 686, 689, 691, 692, 698, 701, 704,
707, 709, 710, 713, 716, 719, 722, 727, 728, 731, 733, 734, 737, 739, 740, 743,
746, 749, 751, 752, 757, 758, 761, 767, 769, 770, 773, 776, 779, 787, 788, 791,
794, 797, 799, 800, 803, 806, 809, 811, 812, 817, 818, 821, 823, 824, 827, 829,
830, 839, 842, 851, 853, 854, 857, 859, 860, 863, 866, 869, 872, 877, 878, 881,
883, 884, 887, 890, 893, 896, 899, 901, 902, 907, 908, 911, 913, 914, 917, 919,
920, 923, 926, 929, 937, 938, 941, 943, 944, 947, 950, 953, 956, 959, 962, 967,
968, 971, 974, 977, 979, 980, 983, 986, 989, 991, 992, 997, 998,
~modest

EDIT ********* AGAIN! ---->

wait... that's the same list I had before... ....


----------------

Last edited by modest; 07-21-2009 at 11:21 PM..
Reply With Quote
Old 07-21-2009   #27 (permalink)
modest's Avatar
Creating

Moderator

Location:
U.S. Midwest
 
modest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond reputemodest has a reputation beyond repute
 



Not Ranked  0 score     
Re: Non-Figurate Numbers

Ok. I get 147 as figurate at n = 3 s = 50:

F = (n/2)*((s-2)*n-s+4)
147 = (3/2)*((50-2)*3-50+4

~modest


----------------
Reply With Quote
Old 07-21-2009   #28 (permalink)
Jay-qu's Avatar
Ancora Imparo

Moderator
Editor
Gallery Curator

Location:
Australia
 
Jay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond reputeJay-qu has a reputation beyond repute
 



Not Ranked  0 score     
Re: Non-Figurate Numbers

Well 147 wasn't in my original list of numbers.. so something went wrong in the new program.

Here I have fixed it up:
Code:
7,8,11,13,14,17,19,20,23,26,29,31,32,37,38,41,43,44,47,50,53,56,59,61,62,67,68,71,73,74,77,79,80,83
86,89,97,98,101,103,104,107,109,110,113,116,119,122,127,128,131,134,137,139,140,143,146,149,151,
152,157,158,161,163,164,167,170,173,179,181,182,187,188,191,193,194,197,199,200,203,206,209,211,
212,218,221,223,224,227,229,230,233,236,239,241,242,248,251,254,257,263,266,269,271,272,277,278,
281,283,284,290,293,296,299,302,307,308,311,313,314,317,319,320,323,326,329,331,332,337,338,347,
349,350,353,356,359,362,367,368,371,373,374,377,379,380,383,386,389,391,392,397,398,401,404,407,
409,410,413,416,419,421,422,431,433,434,437,439,440,443,446,449,452,457,458,461,463,464,467,470,
473,476,479,482,487,488,491,493,494,497,499,500,503,509,517,518,521,523,524,527,530,533,536,539,
541,542,547,548,551,554,557,563,566,569,571,572,577,578,581,583,584,587,589,593,599,601,602,607,
608,611,613,614,617,619,620,623,626,629,631,632,638,641,643,644,647,649,650,653,656,659,661,662,
667,668,673,674,677,683,686,689,691,692,698,701,704,707,709,710,713,716,719,722,727,728,731,733,
734,737,739,740,743,746,749,751,752,757,758,761,767,769,770,773,776,779,787,788,791,794,797,799,
800,803,806,809,811,812,817,818,821,823,824,827,829,830,839,842,851,853,854,857,859,860,863,866,
869,872,877,878,881,883,884,887,890,893,896,899,901,902,907,908,911,913,914,917,919,920,923,926,
929,937,938,941,943,944,947,950,953,956,959,962,967,968,971,974,977,979,980,983,986,989,991,992,
997,998,
The 147 was my bad as I had stopped s at 50 to save time while testing the prime part of the code.

But this makes me think I may have made another error.. bear with me for a min. The above list was generated from the complement of n,s<100 so could I have let some other figurates slip in? I will go and check

For my algorithm to ensure all figurates are generated (up to 1000) I need to make sure s,n go up to 1000 also. That should do it.

EDIT: I reran the code and fixed the above numbers.


----------------
Jay-qu
::Hypography Moderator of..
Chemistry, Physics & Mathematics, Astronomy & Cosmology, Space and Technology & gadgets Forums

"I don't think much of a man who is not wiser today than he was yesterday."
-Abraham Lincoln

Physics Guides - Physics Resources and help

Last edited by Jay-qu; 07-21-2009 at 11:46 PM..
Reply With Quote
Old 07-21-2009   #29 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Thumbs up Re: Non-Figurate Numbers

Quote:
Originally Posted by modest View Post
Ok. I get 147 as figurate at n = 3 s = 50:

F = (n/2)*((s-2)*n-s+4)
147 = (3/2)*((50-2)*3-50+4

~modest
ok.
as an aside, and if i'm not mistaken, this is where Miss Dio-Phantine can get on stage. if it is the case that you searched your list to find 147, then suppose you had no list and still needed to find if 147, or any given integer, has an integer solution in n & s. like so:
147 = (n/2)*((s-2)*n-s+4) ?

Quote:
Originally Posted by J-Qinator
The 147 was my bad as I had stopped s at 50 to save time while testing the prime part of the code.

But this makes me think I may have made another error.. bear with me for a min. The above list was generated from the complement of n,s<100 so could I have let some other figurates slip in? I will go and check.
roger that. . . . . . . .


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter
Reply With Quote
Old 07-25-2009   #30 (permalink)
Turtle's Avatar
Percipient

Platinum Subscription
Sponsor

 



Not Ranked  0 score     
Arrow Re: Non-Figurate Numbers

Quote:
Originally Posted by Jay-qu View Post
Well 147 wasn't in my original list of numbers.. so something went wrong in the new program.

Here I have fixed it up:
Code:
7,8,11,13,14,17,19,20,23,26,29,31,32,37,38,41,43,44,47,50,53,56,59,61,62,67,68,71,73,74,77,79,80,83
86,89,97,98,101,103,104,107,109,110,113,116,119,122,127,128,131,134,137,139,140,143,146,149,151,
152,157,158,161,163,164,167,170,173,179,181,182,187,188,191,193,194,197,199,200,203,206,209,211,
212,218,221,223,224,227,229,230,233,236,239,241,242,248,251,254,257,263,266,269,271,272,277,278,
281,283,284,290,293,296,299,302,307,308,311,313,314,317,319,320,323,326,329,331,332,337,338,347,
349,350,353,356,359,362,367,368,371,373,374,377,379,380,383,386,389,391,392,397,398,401,404,407,
409,410,413,416,419,421,422,431,433,434,437,439,440,443,446,449,452,457,458,461,463,464,467,470,
473,476,479,482,487,488,491,493,494,497,499,500,503,509,517,518,521,523,524,527,530,533,536,539,
541,542,547,548,551,554,557,563,566,569,571,572,577,578,581,583,584,587,589,593,599,601,602,607,
608,611,613,614,617,619,620,623,626,629,631,632,638,641,643,644,647,649,650,653,656,659,661,662,
667,668,673,674,677,683,686,689,691,692,698,701,704,707,709,710,713,716,719,722,727,728,731,733,
734,737,739,740,743,746,749,751,752,757,758,761,767,769,770,773,776,779,787,788,791,794,797,799,
800,803,806,809,811,812,817,818,821,823,824,827,829,830,839,842,851,853,854,857,859,860,863,866,
869,872,877,878,881,883,884,887,890,893,896,899,901,902,907,908,911,913,914,917,919,920,923,926,
929,937,938,941,943,944,947,950,953,956,959,962,967,968,971,974,977,979,980,983,986,989,991,992,
997,998,
The 147 was my bad as I had stopped s at 50 to save time while testing the prime part of the code.

But this makes me think I may have made another error.. bear with me for a min. The above list was generated from the complement of n,s<100 so could I have let some other figurates slip in? I will go and check

For my algorithm to ensure all figurates are generated (up to 1000) I need to make sure s,n go up to 1000 also. That should do it.

EDIT: I reran the code and fixed the above numbers.
roger. the fix is in. i can strip out the primes from your corrected list by hand to get my restricted view if the programming you wrote for that is hiccuping. in the mean time, what do you think about my earlier question? >>
Quote:
Originally Posted by Turtle View Post
...suppose you had no list and still needed to find if 147, or any given integer I, has an integer solution in n & s. like so:
I = (n/2)*((s-2)*n-s+4) ?
can we solve that for n & s and always get real number roots because it's quadratic. modest rewrote it as F= \frac{1}{2}(n^2s-2n^2-ns+4n)

that's all ich haben. guten nacht.


----------------
semantics is not always just pedantic quibbling. ~ douglas r. hofstadter
Reply With Quote
Reply

Bookmarks

Tags
algebra, figurate numbers, math, non-figurate numbers


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Immigration by the numbers C1ay Political sciences 47 06-14-2007 08:03 PM
the sum of all numbers TIDUSGIYA Physics and Mathematics 6 01-30-2006 04:15 AM
What do these numbers mean? Buffy Physics and Mathematics 30 03-10-2005 09:11 PM

» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 11:18 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network