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.

Showing 1-2 of 2 results.

A115556 Numbers whose square is the concatenation of two numbers 9*m and m.

Original entry on oeis.org

12857142857142857142857142857142857143, 25714285714285714285714285714285714286, 117391304347826086956521739130434782608695652173913043478261
Offset: 1

Views

Author

Giovanni Resta, Jan 25 2006

Keywords

Comments

a(4)=156521739130434782608695652173913043478260869565217391304348.
From Robert Israel, Aug 24 2023: (Start)
If 9 * 10^d + 1 = a^2 * b with a > 1, then a * b * c is a term if a^2/(90 + 10^(1-d)) < c^2 < a^2/(9 + 10^(-d)). For example, 9 * 10^d + 1 is divisible by 7^2 for d == 37 (mod 42), and then (9 * 10^d + 1)/7 and 2*(9 * 10^d + 1)/7 are terms. In particular, the sequence is infinite. (End)

Crossrefs

Programs

  • Maple
    F:= proc(d) local R,F,t,b,r,q,s,m0,x0,k;
         R:= NULL;
         F:= ifactors(9*10^d+1)[2];
         b:= mul(t[1]^floor(t[2]/2),t=F);
         for r in numtheory:-divisors(b) do
           x0:= (9*10^d+1)/r;
           m0:= x0/r;
           for k from ceil(sqrt(10^(d-1)/m0)) to floor(sqrt(10^d/m0)) do
             R:= R, x0*k;
           od
         od;
           R
    end proc:
    sort(map(F, [$1..90])); # Robert Israel, Aug 24 2023

Extensions

Definition modified by Georg Fischer, Jul 26 2019

A380428 Numbers k for which nonnegative integers x and y exist such that k is the concatenation of x and y as well as k = (x + y)^2.

Original entry on oeis.org

81, 100, 2025, 3025, 88209, 494209, 4941729, 7441984, 24502500, 25502500, 52881984, 60481729, 300814336, 493817284, 6049417284, 6832014336, 20408122449, 21948126201, 33058148761, 35010152100, 43470165025, 101558217124, 108878221089, 123448227904, 127194229449, 152344237969
Offset: 1

Views

Author

Felix Huber, Jan 25 2025

Keywords

Comments

Subsequence of A000290.
From David A. Corneth, Apr 26 2025: (Start)
If y has q digits then a term m is of the form (x + y) = 10^q * x + y. Choosing some y we can solve for x (the equation is a quadratic with respect to x) and see if it produces a term.
y comes from A238712.
The sequence is infinite; it contains (25*100^i +- 5*10^i)^2 = concat(25*100^i +- 5*10^i, 25*100^i) for all i >= 0.
Neither x nor y can have a leading 0. (End)

Examples

			2025 is in the sequence because (20 + 25)^2 = 2025.
100 is in the sequence because (10 + 0)^2 = 100.
88209 is in the sequence because (88 + 209)^2 = 88209.
From _David A. Corneth_, Apr 26 2025: (Start)
9801 is not in the sequence even though (98 + 01)^2 = 9801 but 01 has a leading 0 which is disallowed.
If a term m ends in y = 209 where y has three digits we have 10^3*x + y = (x + y)^2. Solving for x gives x = 88 or x = 494 corresponding to terms 88209 and 494209. (End)
		

Crossrefs

Programs

  • Maple
    A380428:=proc(n)
        option remember;
        local a,i,k,x,y;
        if n=1 then
            81
        elif n=2 then
            100
        else
            for a from isqrt(procname(n-1))+1 do
                k:=length(a^2);
                for i to k-1 do
                    x:=floor(a^2/10^i);
                    y:=a^2-x*10^i;
                    if x+y=a and length(x)+length(y)=k then
                        return a^2
                    fi
                od
            od
        fi;
    end proc;
    seq(A380428(n),n=1..26);
Showing 1-2 of 2 results.