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.

A256351 Composites in base 10 that remain composite in exactly seven bases b, 2 <= b <= 10, expansions interpreted as decimal numbers.

Original entry on oeis.org

8, 9, 15, 16, 21, 22, 25, 28, 34, 75, 87, 91, 93, 94, 106, 111, 123, 141, 143, 145, 147, 155, 172, 201, 205, 214, 217, 237, 255, 298, 304, 305, 363, 371, 376, 377, 385, 388, 395, 403, 411, 423, 428, 442, 458, 466, 471, 473, 483, 495, 501, 505, 507, 531, 533
Offset: 1

Views

Author

Sebastian Petzelberger, Mar 25 2015

Keywords

Crossrefs

Programs

  • Maple
    f:= proc(b,x) local L,i;
    L:= convert(x,base,b);
    isprime(add(10^(i-1)*L[i],i=1..nops(L)))
    end proc:
    select(t -> not isprime(t) and nops(select(f,[$2..9],t))=2, [$1..1000]); # Robert Israel, Mar 26 2015
  • Mathematica
    fQ[n_] := CompositeQ@ n && Count[ CompositeQ[ FromDigits[ IntegerDigits[n, #]] & /@ Range[2, 9]], True] == 6; Select[ Range@ 500, fQ] (* Robert G. Wilson v, Mar 26 2015 *)