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.

A376078 The smallest number whose prime factor concatenation when written in all bases k, where k = 2...n, contains all digits 0,1,...,(k-1).

Original entry on oeis.org

2, 6, 38, 190, 5662, 39255, 1206042, 22481939, 392228153, 6329975006
Offset: 2

Views

Author

Scott R. Shannon, Sep 09 2024

Keywords

Comments

Up to a(11) all terms have prime factors whose concatenation length in base n is n, the minimum possible value. Is this true for all a(n)?

Examples

			a(7) = 39255 as 39255 = 3*5*2617 = 11_2*101_2*101000111001_2 = "11101101000111001" which contains all digits 0...1 = 10_3*12_3*10120221_3 = "101210120221" which contains all digits 0...2, 3_4*11_4*220321_4 = "311220321" which contains all digits 0...3 = 3_5*10_5*40432_5 = "31040432" which contains all digits 0...4 = 3_6*5_6*20041_6 = "3520041" which contains all digits 0...5 = 3_7*5_7*10426_7 = "3510426" which contains all digits 0...6.
		

Crossrefs

A374225 Irregular triangle read by rows: T(n,k), n > 1 and k <= n, is the smallest composite number x whose set of digits and the set of digits in all prime factors of x, when written in base n, contain exactly k digits in common, or -1 if no such number exists.

Original entry on oeis.org

-1, 9, 4, 4, 8, 6, 15, 4, 6, 14, 30, 114, 4, 12, 10, 35, 190, 894, 4, 8, 33, 188, 377, 2355, 13155, 4, 16, 14, 66, 462, 3269, 22971, 127041, 4, 10, 66, 85, 762, 5359, 36526, 279806, 2219826, 4, 12, 39, 102, 1118, 9096, 62959, 572746, 5053742, 44489860, 4, 12, 95, 132
Offset: 2

Views

Author

Jean-Marc Rebert, Jul 01 2024

Keywords

Examples

			T(2, 1) = 9 = 3^2 -> 1001_2 = 11_2^2, have the digit 1 in common, and no lesser composite has this property.
T(6, 2) = 33 = 3 * 11 -> 53_6 = 3_6 * 15_6, have this 2 digits 3 and 5 in common, and no lesser composite has this property.
T(11, 6) = 174752 = 2^5 * 43 * 127 -> 10A326_11 = 2_11^5 * 3A_11 * 106_11, have the 6 digits 0, 1, 2, 3, 6 and A in common, and no lesser composite has this property.
The array begins:
  n\k:0,  1,  2,   3,    4,     5,    6,
  2: -1,  9,  4;
  3:  4,  8,  6,  15;
  4:  4,  6, 14,  30,  114;
  5:  4, 12, 10,  35,  190,   894;
  6:  4,  8, 33, 188,  377,  2355, 13155;
		

Crossrefs

Programs

  • PARI
    card(base,x)=my(m=factor(x),u=[],v=[],w=[]);my(u=Set(digits(x,base)));for(i=1,#m~,w=Set(digits(m[i,1],base));v=setunion(v,w));#setintersect(u,v)
    T(n,k)=my(x);if(k>n,return(0));if(n==2&&k==0,return(-1));forcomposite(m=max(2,n^(k-1)),oo,x=card(n,m);if(x==k,return(m)))
Showing 1-2 of 2 results.