Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

How do quickest

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72894] How do quickest
  • From: Artur <grafix at csl.pl>
  • Date: Wed, 24 Jan 2007 17:05:29 -0500 (EST)
  • References: <200701231003.FAA06815@smc.vnet.net>

How do quickest following very slowly procedure:
a = {3}; For[k = 1 + a[[Length[
     a]]], Length[a] < 13, While[! IntegerQ[Sqrt[(k)^2 + Sum[(a[[t]])^2,  
{t, 1,
    Length[a]}]]], k++]; AppendTo[a, k]]; a

ARTUR


  • Prev by Date: Zeroes of Zeta function
  • Next by Date: Options for Histogram3D
  • Previous by thread: Zeroes of Zeta function
  • Next by thread: Re: How do quickest