0
$\begingroup$

I'm trying to get the list of numbers using this query:

WolframAlpha[
  "integers | perfect square and having 9 digits", {{"Result", 1}, "NumberData"}]

By default it only returns 10 numbers. How do I get the whole list (something like 23000 entries)?

$\endgroup$
  • 1
    $\begingroup$ You'll be better off working with plain Mathematica code for things like this (where it certainly is possible to do so) $\endgroup$ – b3m2a1 Jan 11 at 20:55
  • 1
    $\begingroup$ Replacing and having 9 digits with and greater than 100160064 will return the next 10. Repeat as needed. Or perhaps the paid subscription to WolframAlpha will return more data. I've never seen a sufficiently detailed description of the features to coax me into paying for that. $\endgroup$ – Bill Jan 11 at 21:03
0
$\begingroup$

Use Mathematica:

Select[Table[i, {i, 10^9, 10^10 - 1}], Sqrt[#] \[Element] Integers &]

or...

Table[j^2, {j, Floor[Sqrt[10^9]], Ceiling[Sqrt[10^10 - 1]]}]
$\endgroup$

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.