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.

A293832 Smallest of a run of n consecutive integers in A061910, i.e., for which the sum of digits of their square is again a square.

Original entry on oeis.org

1, 1, 1, 9, 9, 9, 9, 46045846, 302260461719025
Offset: 1

Views

Author

M. F. Hasler, Oct 16 2017

Keywords

Comments

a(9) > 10^11. It can be expected that a(n) exists for all n, at an order of magnitude a(n) ~ 10^m with m/log_10(m) ~ n.
A061910 considers only positive integers, and here we also consider this case. If 0 were allowed, then the first 4 terms would be 0.

Examples

			For k = 1, 2 and 3, k^2 is a single-digit number and thus equal to its sum of digits, which therefore is a square. Therefore a(n) = 1 starts the first run of n consecutive integers with this property, for n = 1, 2 and 3.
However, the square of k = 4 has digit sum 7 which is not a square, and the same is the case for k = 5, 7 and 8. (Only k = 6 would have the required property.)
The consecutive integers { 9, 10, 11, 12, 13, 14, 15 } have squares 81, 100, 121, 169, 196, 225 which all have a digit sum (9, 1, 4, 16, 16 and 9) which is a square. Therefore a(n) = 9 starts the first run of n consecutive integers with this property, for n = 4 through 7.
(Actually, 10^(3m-2)^2-1 starts a run of 7 such numbers, for any m >= 1.)
The first run of 8 such numbers is (46045846, ..., 46045853), whence a(8) = 46045846.
		

Crossrefs

Programs

  • PARI
    A293832(n,k=0)=until(,forstep(j=n,1,-1,issquare(sumdigits((k+j)^2))||next(2+!k+=j));return(k+1))

Extensions

a(9) from Giovanni Resta, Aug 27 2018

A068834 Square such that the next three squares also having a square digit sum.

Original entry on oeis.org

81, 100, 121, 144, 400, 10000, 10201, 10404, 12100, 40000, 1000000, 1002001, 1004004, 1020100, 1172889, 1210000, 1232100, 2604996, 4000000, 4297329, 4485924, 6185169, 11048976, 11108889, 12916836, 14584761, 16353936, 23040000
Offset: 1

Views

Author

Amarnath Murthy, Mar 09 2002

Keywords

Examples

			a(7) = 81 as the sum of the digits of 7 consecutive squares 81,100,121,144,169,196 and 225 is a square.
		

Crossrefs

Cf. A068833.

Extensions

More terms from Sascha Kurz, Mar 26 2002
Showing 1-2 of 2 results.