[go: up one dir, main page]

login
Revision History for A217104 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Minimal number (in decimal representation) with n nonprime substrings in base-4 representation (substrings with leading zeros are considered to be nonprime).
(history; published version)
#15 by Jon E. Schoenfield at Thu Jul 16 22:22:15 EDT 2015
STATUS

editing

approved

#14 by Jon E. Schoenfield at Thu Jul 16 22:22:13 EDT 2015
COMMENTS

The sequence is well-defined in that for each n the set of numbers with n nonprime substrings is not empty. Proof: Define m(n):=2*sum_{j=i..k} 4^j, where k:=floor((sqrt(8*n+1)-1)/2), i:= n-A000217(k). For n=0,1,2,3, ... the m(n) in base-4 representation are 2, 22, 20, 222, 220, 200, 2222, 2220, 2200, 2000, 22222, 22220, . ... m(n) has k+1 digits and (k-i+1) 2’s. Thus, the number of non-prime nonprime substrings of m(n) is ((k+1)*(k+2)/2)-k-1+i = (k*(k+1)/2)+i = n, which proves the statement.

STATUS

approved

editing

#13 by Vaclav Kotesovec at Thu Oct 23 16:55:08 EDT 2014
STATUS

proposed

approved

#12 by Michel Marcus at Thu Oct 23 16:49:45 EDT 2014
STATUS

editing

proposed

#11 by Michel Marcus at Thu Oct 23 16:48:07 EDT 2014
COMMENTS

The sequence is well-defined in that for each n the set of numbers with n nonprime substrings is not empty. Proof: Define m(n):=2*sum_{j=i..k} 4^j, where k:=floor((sqrsqrt(8*n+1)-1)/2), i:= n-A000217(k). For n=0,1,2,3,… the m(n) in base-4 representation are 2, 22, 20, 222, 220, 200, 2222, 2220, 2200, 2000, 22222, 22220, …. m(n) has k+1 digits and (k-i+1) 2’s. Thus, the number of non-prime substrings of m(n) is ((k+1)*(k+2)/2)-k-1+i = (k*(k+1)/2)+i = n, which proves the statement.

FORMULA

a(n) >= 4^floor((sqrsqrt(8*n-7)-1)/2) for n>0, equality holds if n is a triangular number (cf. A000217).

STATUS

approved

editing

Discussion
Thu Oct 23
16:49
Michel Marcus: like A213302
#10 by T. D. Noe at Wed Dec 19 13:16:02 EST 2012
STATUS

editing

approved

#9 by T. D. Noe at Wed Dec 19 13:15:58 EST 2012
DATA

2, 1, 5, 4, 19, 17, 16, 75, 67, 66, 64, 269, 263, 266, 257, 256, 1053, 1031, 1035, 1029, 1026, 1024, 4125, 4119, 4123, 4107, 4099, 4098, 4096, 16479, 16427, 16431, 16407, 16395, 16391, 16386, 16384, 65709, 65629, 65579, 65581, 65559, 65543, 65539, 65537, 65536, 262383, 262317, 262231, 262187

STATUS

approved

editing

#8 by T. D. Noe at Wed Dec 19 13:15:29 EST 2012
STATUS

editing

approved

#7 by T. D. Noe at Wed Dec 19 13:15:23 EST 2012
CROSSREFS
KEYWORD

nonn,changed,base

STATUS

proposed

editing

#6 by Hieronymus Fischer at Tue Dec 18 18:01:44 EST 2012
STATUS

editing

proposed