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