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!)
A273234 Squares that remain squares if you decrease them by 8 times a repunit with the same number of digits. 6
9, 889249, 896809, 908209, 902942754289, 924745719769, 946618081249, 987107822089, 910909843526089, 9810767198166489, 888909576913320169, 889214944824055249, 889286612895723249, 889972999762742809, 890923059538260849, 896642235371330809, 896979367708462809 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Any number ends in 9.
LINKS
EXAMPLE
9 - 8*1 = 1 = 1^2;
889249 - 8*111111 = 361 = 19^2;
896809 - 8*111111 = 7921 = 89^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, 8);
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_] := 8 (10^n-1)/9; Flatten[sol /@ r /@ Range[12]] (* Giovanni Resta, May 18 2016 *)
CROSSREFS
Sequence in context: A133414 A013850 A174001 * A259159 A340181 A131678
KEYWORD
nonn,easy,base
AUTHOR
Paolo P. Lava, May 18 2016
EXTENSIONS
a(11)-a(17) from Giovanni Resta, 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 April 19 13:40 EDT 2024. Contains 371792 sequences. (Running on oeis4.)