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.

A256362 Numbers that are multiple-digit narcissistic numbers in exactly three bases.

Original entry on oeis.org

125, 325, 370, 793, 845, 1125, 1445, 2080, 2125, 2925, 3125, 3200, 3725, 3757, 5050, 5265, 6125, 6250, 6845, 7605, 8125, 8405, 10125, 10261, 10440, 10625, 11250, 13005, 13690, 14365, 15125, 15925, 18785, 22100
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Mar 26 2015

Keywords

Examples

			a(1) = 125 because this is the first number that is a multiple-digit narcissistic number in exactly three bases (12, 23 and 57).
		

Crossrefs

Cf. A005188.
Cf. A256359 (every number of bases).
Cf. A256360, A256361, A256363, A256364, A256365 (1, 2, 4, 5 and 6 bases).
Cf. A256459 (first occurrences).

Programs

  • PARI
    for(n=3, 1000000, k=0; for(z=2, n, y=n; j=0; L=List(); until(y==0, x=y%z; j++; listinsert(L, x, j); while(!((y%z)==0), y--); y=y/z); t=0; for(p=1, j, t+=L[p]^j); if(n==t, k++)); if(k==3, print1(n, ", ")))