cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A162700 Numbers k which are concatenations k = x//y such that y^2 - x^2 = k.

This page as a plain text file.
%I A162700 #7 Mar 01 2019 23:34:00
%S A162700 48,3468,10101,16128,34188,140400,190476,216513,300625,334668,416768,
%T A162700 484848,530901,2341548,2661653,16604400,33346668,59809776,101010101,
%U A162700 3333466668,4848484848,4989086476,18516137328,30534177388,56734244853
%N A162700 Numbers k which are concatenations k = x//y such that y^2 - x^2 = k.
%C A162700 Cases in which y has leading zeros are not considered.
%e A162700 48 = 4//8 = 8^2 - 4^2;
%e A162700 10101 = 10//101 = 101^2 - 10^2;
%e A162700 16128 = 16//128 = 128^2 - 16^2.
%p A162700 Lton := proc(L) add( op(i,L)*10^(i-1),i=1..nops(L)) ; end:
%p A162700 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
%K A162700 nonn,base
%O A162700 1,1
%A A162700 _Claudio Meller_, Jul 11 2009
%E A162700 keyword:base added, definition rephrased, values sorted by _R. J. Mathar_, Jul 16 2009
%E A162700 More terms from _Sean A. Irvine_, Nov 19 2009