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.

Showing 1-2 of 2 results.

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 *)

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

Original entry on oeis.org

11233, 42241, 98281, 131239, 161953, 315151, 358135, 606553, 692263, 785851, 1114081, 1130419, 1525777, 1906363, 3369313, 3403081, 3880873, 5616721, 6036103, 6947611, 7253191, 7516783, 7886593, 8799127, 8811223, 9108289, 9113203, 9195313, 9450361, 9600769
Offset: 1

Views

Author

Sebastian Petzelberger, Mar 25 2015

Keywords

Examples

			11233 = 324413_5 and 324413_10 is composite; 11233 = 44515_7 and 44515_10 is composite; 11233_10 itself is composite. Interpreted in base 2, 3, 4, 6, 8, and 9 the result is prime. Hence 11233 is in this sequence.
		

Crossrefs

Programs

Showing 1-2 of 2 results.