login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099226 Numbers n that can be represented as both a^x+x and b^y-y, for some a, b, x, y > 1. 2
27, 248, 2194, 32763 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

No other n < 10^15. The intersection of A057897 and A099225. The representation question leads to a Pillai-like exponential Diophantine equation a^x-b^y = x+y for y > x > 1 and b > a > 1.

EXAMPLE

27 = 25^2+2 = 32^5-5, 248 = 7^3+3 = 2^8-8, 2194 = 3^7+7 = 13^3-3 and 32763 = 181^2+2 = 8^5-5.

MATHEMATICA

nLim=40000; lst1={}; Do[k=2; While[n=m^k-k; n<=nLim, AppendTo[lst1, n]; k++ ], {m, 2, Sqrt[nLim]}]; lst2={}; Do[k=2; While[n=m^k+k; n<=nLim, AppendTo[lst2, n]; k++ ], {m, 2, Sqrt[nLim]}]; Intersection[lst1, lst2]

CROSSREFS

Cf. A074981 (n such that there is no solution to Pillai's equation).

Sequence in context: A075548 A030509 A042414 * A016107 A101379 A132652

Adjacent sequences:  A099223 A099224 A099225 * A099227 A099228 A099229

KEYWORD

nonn

AUTHOR

T. D. Noe (noe(AT)sspectra.com), Oct 06 2004

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 18:47 EST 2012. Contains 205663 sequences.