login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A272673
Take list of squares that start with 1 (A045784) and omit the leading 1 and any leading zeros from what is left; if the number was a power of 10, replace it with 0.
1
0, 6, 0, 21, 44, 69, 96, 24, 89, 156, 225, 296, 369, 444, 521, 600, 681, 764, 849, 936, 0, 201, 404, 609, 816, 1025, 1236, 1449, 1664, 1881, 2100, 2321, 2544, 2769, 2996, 3225, 3456, 3689, 3924, 4161, 4400, 4641, 4884, 5129, 5376, 5625, 5876
OFFSET
1,2
PROG
(Python)
A272673_list = [0] + [int(str(m**2)[1:]) if sum(int(d) for d in str(m**2)[1:]) != 1 else 0 for m in range(4, 10**3) if str(m**2)[0] == '1'] # Chai Wah Wu, May 21 2016
CROSSREFS
Sequence in context: A219540 A292497 A082731 * A167357 A064381 A062254
KEYWORD
nonn,base
AUTHOR
STATUS
approved