The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A273229 Squares that remain squares if you decrease them by a repunit with the same number of digits. 3
1, 36, 400, 3136, 24336, 115600, 118336, 126736, 211600, 309136, 430336, 577600, 5973136, 19713600, 30869136, 53582400, 3086469136, 4310710336, 71526293136, 111155560000, 112104432400, 113531259136, 137756776336, 206170483600, 245996160400, 262303768336, 308642469136 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
COMMENTS
Apart from the initial term, any number ends in 0 or 6.
LINKS
EXAMPLE
1 - 1 = 0 = 0^2;
36 - 11 = 25 = 5^2;
400 - 111 = 289 = 17^2;
MAPLE
P:=proc(q, h) local n; for n from 1 to q do
if type(sqrt(n^2-h*(10^(ilog10(n^2)+1)-1)/9), integer) then print(n^2);
fi; od; end: P(10^9, 1);
MATHEMATICA
sol[k_] := Block[{x, e = IntegerLength@k, d = Divisors@k}, Union[#+k/# & /@ Select[ Take[d, Ceiling[ Length@d/2]], EvenQ[ x= #+k/#] && IntegerLength[ x^2/4] == e &]]^2/4]; r[n_] := (10^n-1)/9; Flatten[sol /@ r /@ Range[12]] (* Giovanni Resta, May 18 2016 *)
CROSSREFS
Sequence in context: A086575 A203027 A164583 * A264361 A055862 A105095
KEYWORD
nonn,easy,base
AUTHOR
Paolo P. Lava, May 18 2016
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 13 15:50 EDT 2024. Contains 372521 sequences. (Running on oeis4.)