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

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A085634 Numbers of the form 2^a + 3^b = 2^c + 3^d for nonnegative a, b, c, d and a <> c. 3
5, 11, 17, 35, 259 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

No more terms < 10^4000. - David Wasserman, Feb 07 2005

LINKS

Table of n, a(n) for n=1..5.

EXAMPLE

a(5) = 256 + 3 = 2^8 + 3^1 = 259 = 16 + 243 = 2^4 + 3^5.

MATHEMATICA

(* Max exponent 8 is sufficient to get all known solutions *) Clear[f, ab ]; f[_] = 0; Reap[Do[n = 2^a + 3^b; f[n] = f[n] + 1; If[f[n] == 1, ab[n] = {a, b}, If[f[n] >= 2, Print[HoldForm[2^x + 3^y] /. Thread[{x, y} -> ab[n]], " = ", HoldForm[2^x + 3^y] /. Thread[{x, y} -> {a, b}], " = ", n]; Sow[n]]], {a, 0, 8}, {b, 0, 8}]][[2, 1]] // Union (* Jean-Fran├žois Alcover, Apr 29 2014 *)

CROSSREFS

Sequence in context: A155030 A030468 A277290 * A157478 A088903 A094205

Adjacent sequences:  A085631 A085632 A085633 * A085635 A085636 A085637

KEYWORD

nonn

AUTHOR

Frank Ellermann, Jul 11 2003

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy .

Last modified May 23 23:53 EDT 2017. Contains 286937 sequences.