cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

Showing 1-2 of 2 results.

A215614 Numbers k that are not multiples of 10 and such that sum of digits of k^2 is 7.

Original entry on oeis.org

4, 5, 32, 49, 149, 1049
Offset: 1

Views

Author

Zak Seidov, Aug 17 2012

Keywords

Comments

Except for the number 1, the terms of this sequence and numbers 10^k+1 (A062397) are the only numbers (up to trailing 0's) whose square has sum of digits less than 9. - M. F. Hasler, Sep 23 2014
Is this sequence finite? See also A384095 for a similar problem with digit sum 9. - M. F. Hasler, Jun 20 2025
a(7) > 10^15 if it exists. - David A. Corneth, Jun 21 2025
a(7) > 10^65 if it exists. - Michael S. Branicky, Jun 25 2025
a(7) > 10^700 if it exists. - Max Alekseyev, Jun 27 2025

Crossrefs

Cf. A004159 (sum of digits of n^2).
Subsequence of A262711.
Cf. A384094 (similar for digit sum 9), A384095 (subset of "sporadic solutions").

Programs

  • Mathematica
    Select[Range[1500],Mod[#,10]!=0&&Total[IntegerDigits[#^2]]==7&] (* Harvey P. Dale, Aug 21 2022 *)
  • PARI
    for(n=1,9e9, n%10&&sumdigits(n^2)==7&&print1(n",")) \\ M. F. Hasler, Sep 23 2014

Extensions

Edited and unproven keywords fini,full removed by Max Alekseyev, Jun 20 2025

A384094 Numbers whose square has digit sum 9 and no trailing zero.

Original entry on oeis.org

3, 6, 9, 12, 15, 18, 21, 39, 45, 48, 51, 102, 105, 111, 201, 249, 318, 321, 348, 351, 501, 549, 1002, 1005, 1011, 1101, 1149, 1761, 2001, 4899, 5001, 10002, 10005, 10011, 10101, 10149, 11001, 14499, 20001, 50001, 100002, 100005, 100011, 100101, 101001, 110001, 200001, 375501, 500001, 1000002
Offset: 1

Views

Author

M. F. Hasler, Jun 15 2025

Keywords

Comments

All numbers of the form 10^a + 10^b + 1 (i.e., A052216+1 = 3*A237424) and of the form 10^a + 5*10^b with min(a, b) = 0 (i.e., A133472 U A199685), are in this sequence. Terms not of this form are (9, 18, 39, 45, 48, 249, 318, 321, 348, 351, 549, 1149, 1761, 4899, 10149, 14499, 375501, ...), see subsequence A384095. (Is this sequence finite? What is the next term?)
Is it true that no number > 1049 = A215614(6) has a square with digit sum less than 9, other than the trivial 1 and 4?

Crossrefs

Cf. A004159 (sum of digits of n^2), A215614 (sumdigits(n^2) = 7), A133472 (10^n + 5), A199685 (5*10^n + 1), A052216 (10^a + 10^b), A237424 ((10^a + 10^b + 1)/3).
See also: A058414 (digits(n^2) in {0,1,4}).

Programs

  • PARI
    select( {is_A384094(n)=n%10 && sumdigits(n^2)==9}, [1..10^5])
Showing 1-2 of 2 results.