Logo

Greetings from The On-Line Encyclopedia of Integer Sequences!

Hints

Search: id:A162700
Displaying 1-1 of 1 results found. page 1
     Format: long | short | internal | text      Sort: relevance | references | number      Highlight: on | off
A162700 Numbers n which are concatenations n=x//y such y^2-x^2 = n. +0
2
48, 3468, 10101, 16128, 34188, 140400, 190476, 216513, 300625, 334668, 416768, 484848, 530901 (list; graph; listen)
OFFSET

1,1

COMMENT

Cases with leading zeros of y are not considered.

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

Sequence in context: A009992 A042105 A079240 this_sequence A027567 A033475 A053060

Adjacent sequences: A162697 A162698 A162699 this_sequence A162701 A162702 A162703

KEYWORD

nonn,base,more

AUTHOR

Claudio L Meller (claudiomeller(AT)gmail.com), Jul 11 2009

EXTENSIONS

keyword:base added, definition rephrased, values sorted by R. J. Mathar (mathar(AT)strw.leidenuniv.nl), Jul 16 2009

page 1

Search completed in 0.002 seconds

Lookup | Welcome | Find friends | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
More pages | Superseeker | Maintained by N. J. A. Sloane (njas@research.att.com)

Last modified November 22 15:28 EST 2009. Contains 167310 sequences.


AT&T Labs Research