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.

A316485 Squares whose arithmetic mean of digits is 5 (i.e., the sum of digits is 5 times the number of digits).

Original entry on oeis.org

64, 12769, 14884, 24649, 24964, 27556, 30976, 33856, 37249, 37636, 44944, 48841, 56644, 65536, 66049, 70756, 75076, 75625, 80089, 80656, 85264, 96721, 10778089, 10982596, 11464996, 11498881, 11648569, 11957764, 11992369, 12369289, 12559936, 12687844, 12909649
Offset: 1

Views

Author

Jon E. Schoenfield, Jul 04 2018

Keywords

Comments

Each term's number of digits is in A174438 (Numbers that are congruent to {0, 2, 5, 8} mod 9). For every positive term k in A174438, this sequence contains at least one k-digit term. (See A316480.)

Examples

			8^2 = 64, a 2-digit number whose digit sum is 6+4 = 10 = 5*2, so 64 is a term.
3283^2 = 10778089, an 8-digit number whose digit sum is 1+0+7+7+8+0+8+9 = 40 = 5*8, so 10778089 is a term.
		

Crossrefs

Intersection of A000290 and A061388. - Michel Marcus, Jul 06 2018

Programs

  • Mathematica
    Select[Range[4000]^2,Mean[IntegerDigits[#]]==5&] (* Harvey P. Dale, Sep 10 2022 *)