|
|
A162700
|
|
Numbers k which are concatenations k = x//y such that y^2 - x^2 = k.
|
|
2
|
|
|
48, 3468, 10101, 16128, 34188, 140400, 190476, 216513, 300625, 334668, 416768, 484848, 530901, 2341548, 2661653, 16604400, 33346668, 59809776, 101010101, 3333466668, 4848484848, 4989086476, 18516137328, 30534177388, 56734244853
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Cases in which y has leading zeros are not considered.
|
|
LINKS
|
|
|
EXAMPLE
|
48 = 4//8 = 8^2 - 4^2;
10101 = 10//101 = 101^2 - 10^2;
16128 = 16//128 = 128^2 - 16^2.
|
|
MAPLE
|
Lton := proc(L) add( op(i, L)*10^(i-1), i=1..nops(L)) ; end:
for n from 10 do dgs := convert(n, base, 10) ; for spli from 1 to nops(dgs)-1 do ydgs := [op(1..spli, dgs)] ; xdgs := [op(spli+1..nops(dgs), dgs)] ; if op(-1, ydgs) <> 0 then x := Lton(xdgs) ; y := Lton(ydgs) ; if y^2-x^2 = n then print(n) ; fi; fi; od: od: # R. J. Mathar, Jul 16 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
EXTENSIONS
|
keyword:base added, definition rephrased, values sorted by R. J. Mathar, Jul 16 2009
|
|
STATUS
|
approved
|
|
|
|