MathGroup Archive 2012

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

Search the Archive

How to count

  • To: mathgroup at
  • Subject: [mg125683] How to count
  • From: Artur <grafix at>
  • Date: Thu, 29 Mar 2012 02:55:25 -0500 (EST)
  • Delivered-to:
  • Reply-to: grafix at

Dear Mathematica Gurus!

I have seriously problem with counting distances between smallest square 
bigger than n! (for big n) e.g.

aa = {}; Do[k = 1 + Floor[Sqrt[n!]]; kk = k^2 - n!; Print[kk];
  kkk = N[Log[kk], 100]; Print[kkk];
  AppendTo[aa, kkk], {n, 1, 10000000, 1000000}]; aa

Who have idea how to count this on Mathematica?

Best wishes

  • Prev by Date: Re: using Mathematica for solving TSP-like problem with route priorities
  • Next by Date: prim algorithm
  • Previous by thread: Re: Input vs. InputField for Interactive Applications
  • Next by thread: Re: How to count