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.

A258273 The base in which A256360(n) is multi-narcissistic.

Original entry on oeis.org

3, 3, 7, 5, 5, 8, 7, 21, 7, 4, 31, 17, 9, 4, 8, 23, 4, 17, 11, 4, 57, 30, 11, 18, 73, 4, 27, 8, 22, 13, 6, 91, 47, 33, 15, 18, 5, 111, 9, 15, 7, 27, 68, 7, 17, 157, 80, 55, 28, 19, 43, 6, 183, 32, 21, 18, 211, 107, 73, 21, 4, 14, 241, 64, 37, 53, 23, 5, 273, 46
Offset: 1

Views

Author

Tim Johannes Ohrtmann, Jun 25 2015

Keywords

Examples

			a(1) = 3 because this is the base in which A256360(1) is a multiple-digit narcissistic number: 5 is 12 in base 3 and 1^2+2^2 = 5.
		

Crossrefs

Cf. A256360.

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++; a=z)); if(k==1, print1(a, ", ")))