login

Revision History for A328312

(Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
a(n) is the product of (1+A328311(x)) applied over all values x obtained when arithmetic derivative (A003415) is iterated starting from x=n, until 1 is encountered, or 0 if no 1 is ever encountered (in which case such product would be infinite).
(history; published version)
#11 by Susanna Cuyler at Sun Oct 13 18:09:23 EDT 2019
STATUS

proposed

approved

#10 by Antti Karttunen at Sun Oct 13 16:07:43 EDT 2019
STATUS

editing

proposed

#9 by Antti Karttunen at Sun Oct 13 16:07:37 EDT 2019
NAME

a(n) is the product of (1+A328311(x)) applied over all values x obtained when arithmetic derivative (A003415) is iterated starting from x=n, until 1 is encountered, or 0 if no 1 is ever encountered (in which case such a product would be infinite).

#8 by Antti Karttunen at Sun Oct 13 16:02:45 EDT 2019
LINKS

Antti Karttunen, <a href="/A328312/b328312.txt">Table of n, a(n) for n = 1..65537</a>

CROSSREFS

Cf. also A328248, A328314.

#7 by Antti Karttunen at Sun Oct 13 15:56:14 EDT 2019
NAME

a(n) is the product of (1+A328311(x)) applied over all values x obtained when arithmetic derivative (A003415) is iterated starting from x=n, until 1 is encountered, or 0 if no 1 is ever encountered (in which case such a product would be infinite).

DATA

1, 1, 1, 0, 1, 2, 1, 0, 2, 2, 1, 0, 1, 6, 0, 0, 1, 4, 1, 0, 4, 2, 1, 0, 2, 0, 0, 0, 1, 2, 1, 0, 12, 2, 0, 0, 1, 8, 0, 0, 1, 2, 1, 0, 0, 6, 1, 0, 6, 0, 0, 0, 1, 0, 0, 0, 4, 2, 1, 0, 1, 24, 0, 0, 12, 2, 1, 0, 0, 2, 1, 0, 1, 0, 0, 0, 12, 2, 1, 0, 0, 2, 1, 0, 4, 0, 0, 0, 1, 0, 0, 0, 4, 18, 0, 0, 1, 12, 0, 0, 1, 0, 1, 0, 2

OFFSET

1,6

PROG

A328312(n) = { my(m=1); while(n>1, m *= (1+A328311(n)); n = A003415checked(n)); (n*m); };

#6 by Antti Karttunen at Sun Oct 13 15:54:23 EDT 2019
NAME

a(n) is the sum of A328311(x) applied over all values x obtained when arithmetic derivative (A003415) is iterated starting from x=n, until 1 is encountered, or -1 if no 1 is ever encountered (in which case such sum would be infinite).

a(n) is

DATA

0, 0, 0, -1, 0, 1, 0, -1, 1, 1, 0, -1, 0, 3, -1, -1, 0, 2, 0, -1, 2, 1, 0, -1, 1, -1, -1, -1, 0, 1, 0, -1, 4, 1, -1, -1, 0, 3, -1, -1, 0, 1, 0, -1, -1, 3, 0, -1, 3, -1, -1, -1, 0, -1, -1, -1, 2, 1, 0, -1, 0, 5, -1, -1, 4, 1, 0, -1, -1, 1, 0, -1, 0, -1, -1, -1, 4, 1, 0, -1, -1, 1, 0, -1, 2, -1, -1, -1, 0, -1, -1, -1, 2, 5, -1, -1, 0, 4, -1, -1, 0, -1, 0, -1, 1

0, 0, 0

OFFSET

1,14

1

EXAMPLE

a(62) = 5 because 62 = 2*31 (highest exponent 1), A003415(62) = 33 = 3*11 (highest exponent 1, add (1-1)+1 = 1 to sum), A003415(33) = 14 = 2*7 (highest exponent 1, add (1-1)+1 = 1 to sum), A003415(14) = 9 = 3^2 (highest exponent 2, add (2-1)+1 = 2 to sum), A003415(9) = 6 = 2*3 (highest exponent 1, add (1-2)+1 = 0 to sum), A003415(6) = 5 (highest exponent 1, add (1-1)+1 = 1 to sum), and with A003415(5) = 1, the iteration is terminated and the total sum collected is 1+1+2+0+1 = 5.

PROG

A328312(n) = { my(s=0); while(n>1, s += A328311(n); n = A003415checked(n)); if(n, s, -1); };

CROSSREFS

Cf. A008578 (positions of 01's), A099309 (of -10's).

#5 by Antti Karttunen at Sun Oct 13 12:49:14 EDT 2019
NAME

a(n) is the sum of A328311(x) applied over all values x obtained when arithmetic derivative (A003415) is iterated starting from x=n, until zero 1 is encountered, or -1 if no zero 1 is ever encountered (in which case such sum would be infinite).

EXAMPLE

a(62) = 5 asbecause 62 = 2*31 (highest exponent 1), A003415(62) = 33 = 3*11 (highest exponent 1, add (1-1)+1 = 1 to sum), A003415(33) = 14 = 2*7 (highest exponent 1, add (1-1)+1 = 1 to sum), A003415(14) = 9 = 3^2 (highest exponent 2, add (2-1)+1 = 2 to sum), A003415(9) = 6 = 2*3 (highest exponent 1, add (1-2)+1 = 0 to sum), A003415(6) = 5 (highest exponent 1, add (1-1)+1 = 1 to sum), and with A003415(5) = 1, the iteration is terminated and the total sum collected is 1+1+2+0+1 = 5.

#4 by Antti Karttunen at Sun Oct 13 10:21:34 EDT 2019
CROSSREFS

Cf. A099309 A008578 (positions of 0's), A099309 (of -1's).

Cf. also A328248, A328314.

#3 by Antti Karttunen at Sun Oct 13 10:09:56 EDT 2019
NAME

a(n) is the sum of A328311(x) applied over all values x obtained when arithmetic derivative (A003415) is iterated, starting from x=n, until zero is encountered, or -1 if no zero is ever encountered (in which case such sum would be infinite).

#2 by Antti Karttunen at Sun Oct 13 10:09:21 EDT 2019
NAME

allocated for Antti Karttunena(n) is the sum of A328311(x) applied over all values x obtained when arithmetic derivative (A003415) is iterated, until zero is encountered, or -1 if no zero is ever encountered (in which case such sum would be infinite).

DATA

0, 0, 0, -1, 0, 1, 0, -1, 1, 1, 0, -1, 0, 3, -1, -1, 0, 2, 0, -1, 2, 1, 0, -1, 1, -1, -1, -1, 0, 1, 0, -1, 4, 1, -1, -1, 0, 3, -1, -1, 0, 1, 0, -1, -1, 3, 0, -1, 3, -1, -1, -1, 0, -1, -1, -1, 2, 1, 0, -1, 0, 5, -1, -1, 4, 1, 0, -1, -1, 1, 0, -1, 0, -1, -1, -1, 4, 1, 0, -1, -1, 1, 0, -1, 2, -1, -1, -1, 0, -1, -1, -1, 2, 5, -1, -1, 0, 4, -1, -1, 0, -1, 0, -1, 1

OFFSET

1,14

EXAMPLE

a(62) = 5 as

PROG

(PARI)

A003415(n) = if(n<=1, 0, my(f=factor(n)); n*sum(i=1, #f~, f[i, 2]/f[i, 1]));

A003415checked(n) = if(n<=1, 0, my(f=factor(n), s=0); for(i=1, #f~, if(f[i, 2]>=f[i, 1], return(0), s += f[i, 2]/f[i, 1])); (n*s));

A051903(n) = if((1==n), 0, vecmax(factor(n)[, 2]));

A328311(n) = if(n<=1, 0, 1+(A051903(A003415(n)) - A051903(n)));

A328312(n) = { my(s=0); while(n>1, s += A328311(n); n = A003415checked(n)); if(n, s, -1); };

CROSSREFS

Cf. A003415, A051903, A328311.

Cf. A099309 (positions of -1's).

Cf. also A328248.

KEYWORD

allocated

sign

AUTHOR

Antti Karttunen, Oct 13 2019

STATUS

approved

editing