[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
Revision History for A292127 (Underlined text is an addition; strikethrough text is a deletion.)

Showing all changes.
A292127 a(1) = 1, a(r(n)^k) = 1 + k * a(n) where r(n) is the n-th number that is not a perfect power A007916(n).
(history; published version)
#10 by Susanna Cuyler at Fri May 04 22:42:29 EDT 2018
STATUS

proposed

approved

#9 by Jon E. Schoenfield at Thu May 03 22:02:48 EDT 2018
STATUS

editing

proposed

#8 by Jon E. Schoenfield at Thu May 03 22:02:46 EDT 2018
NAME

a(1) = 1, a(r(n)^k) = 1 + k * a(n) where r(n) is the n-th rootless number that is not a perfect power A007916(n).

STATUS

approved

editing

#7 by N. J. A. Sloane at Sun Oct 01 00:06:12 EDT 2017
STATUS

proposed

approved

#6 by Gus Wiseman at Mon Sep 11 00:59:01 EDT 2017
STATUS

editing

proposed

#5 by Gus Wiseman at Mon Sep 11 00:55:21 EDT 2017
MATHEMATICA

radQrads=Select[n_]:=IfRange[n===1, False2, nn], GCD@@FactorInteger[n][[[#][[All, 2]]===1]; &];

rada[1]:=1; a[n_]:=rad[n]=IfWith[{k=GCD@@FactorInteger[n===0, 1][[All, NestWhile[#+2]]}, 1&, rad+k*a[Position[rads, n-^(1]+/k)][[1, Not[radQ[#]]&]]; 1]]]];

Clear[radPi]; Set@@@Array[radPi[rad[#]]==#&, nn];

tct[n_]:=If[n===1, 1, With[{g=GCD@@FactorInteger[n][[All, 2]]}, ConstantArray[tct[radPi[Power[n, 1/g]]], g]]];

Table[Count[tct[n], _, {0, Infinity}], {n, nn}]

Array[a, nn]

#4 by Gus Wiseman at Sat Sep 09 04:29:06 EDT 2017
NAME

a(1) = 1, a(r(n)^k) = 1+ + k* * a(n) where r(n) is the n-th rootless number A007916(n).

COMMENTS

Any positive integer greater than 1 can be written uniquely as a perfect power r(n)^k. We define a planted achiral (or generalized Bethe) tree b(n) for any positive integer greater than 1 by writing n as a perfect power r(d)^k and forming a tree with k branches all equal to b(d). Then a(n) is the number of nodes in b(n).

#3 by Gus Wiseman at Sat Sep 09 03:28:07 EDT 2017
EXAMPLE

The first twentynineteen planted achiral trees are:

((((((o)))))), (oooo), (((ooo))), ((((o)(o)))), (((((oo))))), (((((((o))))))).))))).

#2 by Gus Wiseman at Sat Sep 09 03:05:45 EDT 2017
NAME

allocateda(r(n)^k) = 1+k*a(n) where r(n) is the n-th forrootless Gusnumber WisemanA007916(n).

DATA

1, 2, 3, 3, 4, 4, 5, 4, 5, 5, 6, 5, 6, 6, 7, 5, 6, 7, 7, 8, 6, 7, 8, 8, 7, 9, 7, 7, 8, 9, 9, 6, 8, 10, 8, 7, 8, 9, 10, 10, 7, 9, 11, 9, 8, 9, 10, 11, 9, 11, 8, 10, 12, 10, 9, 10, 11, 12, 10, 12, 9, 11, 13, 7, 11, 10, 11, 12, 13, 11, 13, 10, 12, 14, 8, 12, 11

OFFSET

1,2

COMMENTS

Any positive integer can be written uniquely as a perfect power r(n)^k. We define a planted achiral (or generalized Bethe) tree b(n) for any positive integer by writing n as a perfect power r(d)^k and forming a tree with k branches all equal to b(d). Then a(n) is the number of nodes in b(n).

EXAMPLE

The first twenty planted achiral trees are:

o,

(o),

((o)), (oo),

(((o))), ((oo)),

((((o)))), (ooo), ((o)(o)), (((oo))),

(((((o))))), ((ooo)), (((o)(o))), ((((oo)))),

((((((o)))))), (oooo), (((ooo))), ((((o)(o)))), (((((oo))))), (((((((o))))))).

MATHEMATICA

nn=100;

radQ[n_]:=If[n===1, False, GCD@@FactorInteger[n][[All, 2]]===1];

rad[n_]:=rad[n]=If[n===0, 1, NestWhile[#+1&, rad[n-1]+1, Not[radQ[#]]&]];

Clear[radPi]; Set@@@Array[radPi[rad[#]]==#&, nn];

tct[n_]:=If[n===1, 1, With[{g=GCD@@FactorInteger[n][[All, 2]]}, ConstantArray[tct[radPi[Power[n, 1/g]]], g]]];

Table[Count[tct[n], _, {0, Infinity}], {n, nn}]

CROSSREFS

Cf. A003238, A007916, A052409, A052410, A061775, A214577, A277576, A277615, A278028, A279614, A279944, A289023.

KEYWORD

allocated

nonn

AUTHOR

Gus Wiseman, Sep 09 2017

STATUS

approved

editing

#1 by Gus Wiseman at Sat Sep 09 03:05:45 EDT 2017
NAME

allocated for Gus Wiseman

KEYWORD

allocated

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 04:38 EDT 2024. Contains 375526 sequences. (Running on oeis4.)