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.

A385232 Numbers that can be written as s^x + t^y, with 1 < s < t and {s,t} = {x,y}; that is, are of the form s^s + t^t or s^t + t^s.

Original entry on oeis.org

17, 31, 32, 57, 100, 145, 177, 260, 283, 320, 368, 593, 945, 1124, 1649, 2169, 2530, 3129, 3152, 3381, 4240, 5392, 7073, 8361, 16580, 18785, 20412, 23401, 32993, 46660, 46683, 46912, 49781, 60049, 65792, 69632, 94932, 131361, 178478, 262468, 268705, 397585, 423393, 524649, 533169, 823547, 823570
Offset: 1

Views

Author

Alberto Zanoni, Jun 28 2025

Keywords

Examples

			a(1) = 2^3 + 3^2 =  8 +  9 = 17.
a(2) = 2^2 + 3^3 =  4 + 27 = 31.
a(3) = 2^4 + 4^2 = 16 + 16 = 32.
a(4) = 2^5 + 5^2 = 32 + 25 = 57.
		

Crossrefs

Cf. A000312, A001597, A385233 (three addends).
Union of A173054 and A385614.

A173054 Numbers of the form x^y + y^x, 1 < x < y.

Original entry on oeis.org

17, 32, 57, 100, 145, 177, 320, 368, 593, 945, 1124, 1649, 2169, 2530, 4240, 5392, 7073, 8361, 16580, 18785, 20412, 23401, 32993, 60049, 65792, 69632, 94932, 131361, 178478, 262468, 268705, 397585, 423393, 524649, 533169, 1048976, 1058576
Offset: 1

Views

Author

Keywords

Examples

			17 is in the sequence because 17 = 2^3 + 3^2.
		

Crossrefs

Programs

  • Mathematica
    f[a_,b_]:=a^b+b^a; Take[Union[Flatten[Table[f[a,b],{a,2,50},{b,a+1,50}]]],80]
    nn=10^50; n=1; Union[Reap[While[n++; k=n+1; num=n^k+k^n; num
    				
Showing 1-2 of 2 results.