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.

A280390 Integers that can be written using their individual decimal digits and the operations + - * / ^ but not the concatenation of their digits.

Original entry on oeis.org

25, 125, 127, 128, 216, 289, 343, 347, 625, 736, 1285, 1296, 1792, 2048, 2187
Offset: 1

Views

Author

Keywords

Comments

A proper subset of A036057.

Examples

			125 is in the sequence since 5^(1+2) but 121 is not in the sequence. We do not accept 11^2 since 11 is the concatenation of two digits.
		

Crossrefs

Cf. A036057.

Programs

  • Mathematica
    ops = {Plus, Subtract, Times, Divide, Power}; fQ[n_] := Length@ Select[ Groupings[ Permutations@ IntegerDigits@ n, ops -> 2], # == n &] > 0; k = 1; lst = {}; While[k < 1001, If[fQ@k, AppendTo[lst, k]]; k++]; lst (* requires Mathematica version 11 or better *)