login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A295015 Squares whose largest digit is 5. 7
25, 225, 1225, 1521, 2025, 2500, 3025, 4225, 5041, 11025, 12544, 13225, 21025, 22500, 24025, 34225, 35344, 42025, 44521, 52441, 55225, 112225, 122500, 133225, 135424, 150544, 151321, 152100, 202500, 212521, 235225, 245025, 250000, 251001, 252004, 255025, 302500 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A295005(n)^2.
MATHEMATICA
Select[Range[600]^2, Max[IntegerDigits[#]]==5&] (* Harvey P. Dale, Aug 19 2022 *)
PROG
(PARI) is_A295015(n)=issquare(n)&&n&&vecmax(digits(n))==5 \\ The "n&&" avoids an error message for n = 0.
(Python)
from math import isqrt
def aupto(limit):
alst, rootlimit = [], isqrt(limit)
for k in range(1, rootlimit+1):
if max(str(k*k)) == "5": alst.append(k*k)
return alst
print(aupto(302500)) # Michael S. Branicky, May 15 2021
CROSSREFS
Cf. A295015 (square roots of the terms); A277946, A277947, A277948, A295016 .. A295019 (analog for digits 2 through 9); A295025 (analog for cubes).
Cf. A000290 (the squares).
Sequence in context: A038692 A017330 A135509 * A288876 A065779 A095241
KEYWORD
nonn,base
AUTHOR
M. F. Hasler, Nov 12 2017
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 4 21:32 EDT 2024. Contains 372257 sequences. (Running on oeis4.)