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-5 of 5 results.

A325148 Squares which can be expressed as the product of a number and its reversal.

Original entry on oeis.org

0, 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 400, 484, 900, 1089, 1600, 1936, 2500, 3025, 3600, 4356, 4900, 5929, 6400, 7744, 8100, 9801, 10000, 10201, 12100, 12321, 14641, 17161, 19881, 22801, 25921, 29241, 32761, 36481, 40000, 40804, 44944, 48400, 49284, 53824, 58564, 63504, 68644, 73984, 79524, 85264
Offset: 1

Views

Author

Bernard Schott, Apr 03 2019

Keywords

Comments

The numbers k such that k * rev(k) is a square are in A306273.
The squares of palindromes of A014186 are a subsequence.
The square roots of the first 65 terms of this sequence (from 0 to 160000) are exactly the first 65 terms of A061917. Then a(66) = 162409 = 403^2 and the non-palindrome 403 is the first term of another sequence A325151.

Examples

			Zero ways: 169 = 13^2 cannot be equal to k * rev(k).
One way: 400 = 200 * 2; 10201 = 101 * 101; 162409 = 169 * 961.
Two ways: 7683984 = 2772 * 2772 = 1584 * 4851.
Three ways: 6350400 = 14400 * 441 = 25200 * 252 = 44100 * 144.
		

Crossrefs

Equals A325149 Union A083408.
Cf. A325149 (only one way), A083408 (at least two ways). A325150 (exactly two ways), A307019 (exactly three ways).
Subsequences: A014186 (square of palindromes), A076750 (product of a non-palindrome and its reversal, where leading zeros are not allowed).
Cf. A061917, A325151 (some square roots of this sequence).

Programs

  • Maple
    isA305231 := proc(n)
        local d;
        for d in numtheory[divisors](n) do
            if d = digrev(n/d) then
                return true ;
            end if;
        end do:
        false ;
    end proc:
    n := 1;
    for i from 0 to 4000 do
        i2 := i^2 ;
        if isA305231(i2) then
            printf("%d %d\n",n,i2) ;
            n := n+1 ;
        end if;
    end do: # R. J. Mathar, Aug 09 2019
  • Mathematica
    {0}~Join~Select[Range[10^3]^2,(d1=Select[Divisors[n=#],#<=Sqrt@n&];Or@@Table[d1[[k]]==(IntegerReverse/@(n/d1))[[k]],{k,Length@d1}])&] (* Giorgos Kalogeropoulos, Jun 09 2021 *)
  • Python
    from sympy import divisors
    A325148_list = [0]
    for n in range(10**6):
        n2 = n**2
        for m in divisors(n2):
            if m > n:
                break
            if m == int(str(n2//m)[::-1]):
                A325148_list.append(n2)
                break # Chai Wah Wu, Jun 09 2021

Formula

Intersection of A305231 and A000290. - R. J. Mathar, Aug 09 2019

Extensions

Definition corrected by N. J. A. Sloane, Aug 01 2019

A325150 Squares which can be expressed as the product of a number and its reversal in exactly two ways.

Original entry on oeis.org

63504, 435600, 7683984, 16240900, 25401600, 66585600, 420332004, 558471424, 647804304, 726949444, 782432784, 1067328900, 1624090000, 1897473600, 2341011456, 2540160000, 6658560000, 50860172484, 52587662400, 63631071504, 67575042304, 78384320784, 96118600900, 106732890000
Offset: 1

Views

Author

Bernard Schott, Apr 03 2019

Keywords

Comments

When q = m^2 does not end with a 0 is a term, then m is a palindrome belonging to A117281.
When q = m^2 ending with a 0 is a term, then either m = r * 10^u where r belongs to A325151 and u >= 1, or m is in A342994.

Examples

			1) Squares without trailing zeros:
Even square: 7683984 = 2772^2 = 2772 * 2772 = 1584 * 4851.
Odd square: 1239016098321 = 1113111^2 = 1113111 * 1113111 = 1022121 * 1212201.
2) Squares with trailing zeros:
1st case: 16240900 = 4030^2 = 16900 * 961 = 96100 * 169.
2nd case: 435600 = 660^2 = 6600 * 66 = 528 * 825.
		

References

  • D. Wells, 63504 entry, The Penguin Dictionary of Curious and Interesting Numbers. Penguin Books, NY, 1986, Revised edition 1997, p. 168.

Crossrefs

Cf. A325148 (at least one way), A325149 (only one way), A083408 (at least two ways), A307019 (exactly three ways).
Cf. A083407 (odd squares), A083408 (even squares without trailing 0's).

Extensions

Corrected terms by Chai Wah Wu, Apr 12 2019
Definition corrected by N. J. A. Sloane, Aug 01 2019

A076750 Squares which are the product of a non-palindrome and its reversal, where leading zeros are not allowed.

Original entry on oeis.org

63504, 162409, 254016, 435600, 665856, 7683984, 10673289, 18974736, 420332004, 525876624, 558471424, 647804304, 726949444, 782432784, 961186009, 1086823089, 1235030449, 1681328016, 1932129936, 2103506496, 2341011456, 2363515456, 3051678564, 3413130084, 4485784576
Offset: 1

Views

Author

Jason Earls, Nov 12 2002

Keywords

Examples

			One way: 10673289 = 3267^2 = 1089*9801.
From _Bernard Schott_, Apr 12 2019: (Start)
Two ways:
  7683984 = 2772^2 = 2772*2772 = 1584*4851;
   435600 =  660^2 =  528*825  = 6600*66. (End)
		

Crossrefs

Subsequence of A325148.

Extensions

More terms from Chai Wah Wu, Apr 11 2019

A325151 Non-palindromes numbers not ending in 0 whose square is the product of a number and its reverse in only one way.

Original entry on oeis.org

403, 504, 816, 3267, 4356, 22932, 31003, 32967, 35143, 41004, 43956, 45864, 48616, 55242, 58422, 66976, 75525, 329967, 341033, 403403, 439956, 451044, 504504, 784806, 816816, 1341331, 2341332, 2452442, 2480742, 2570652, 2749572, 3010003, 3141313, 3299967, 3321133, 3462543, 4010004, 4030403, 4035297, 4252424, 4399956
Offset: 1

Views

Author

Bernard Schott, Apr 05 2019

Keywords

Comments

The squares of these non-palindromes numbers form the second family of the terms of A325149, they form a subsequence of A076750.
The squares of these non-palindromes numbers generate also a family of terms of A325150 by this way: 4030^2 = 16900 * 961 = 96100 * 169.

Examples

			403^2 = 169 * 961.
		

Crossrefs

Subsequence of A207373.

Extensions

Definition and terms corrected by Chai Wah Wu, Apr 12 2019

A325152 Numbers whose squares can be expressed as the product of a number and its reversal.

Original entry on oeis.org

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 20, 22, 30, 33, 40, 44, 50, 55, 60, 66, 70, 77, 80, 88, 90, 99, 100, 101, 110, 111, 121, 131, 141, 151, 161, 171, 181, 191, 200, 202, 212, 220, 222, 232, 242, 252, 262, 272, 282, 292, 300, 303, 313, 323, 330, 333, 343, 353, 363, 373, 383, 393, 400, 403, 404, 414, 424, 434
Offset: 1

Views

Author

Bernard Schott, Apr 11 2019

Keywords

Comments

The corresponding squares are in A325148 and the numbers k such that k * rev(k) is a square are in A306273.
The squares of the first 47 terms of this sequence (from 0 to 242) can be expressed as the product of a number and its reversal in only one way; then a(48) = 252 and 252^2 = 252 * 252 = 144 * 441.
The first 65 terms of this sequence (from 0 to 400) are exactly the first 65 terms of A061917; then a(66) = 403, non-palindrome, is the first term of the sequence A325151.

Examples

			One way: 20^2 = 400 = 200 * 2.
Two ways: 2772^2 = 7683984 = 2772 * 2772 = 1584 * 4851.
Three ways: 2520^2 = 14400 * 441 = 25200 * 252 = 44100 * 144.
403 is a member since 403^2 = 162409 = 169*961 (note that 403 is not a member of A281625).
		

Crossrefs

Cf. also A061917, A325151.
Similar to but different from A281625.

Formula

a(n) = sqrt(A325148(n)).
Showing 1-5 of 5 results.