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!)
A372095 a(n) = 3-adic valuation of A008336(3*n). 3
0, 1, 0, 2, 1, 2, 0, 1, 2, 5, 4, 5, 3, 4, 3, 1, 2, 3, 0, 1, 0, 2, 1, 2, 0, 1, 0, 4, 3, 4, 2, 1, 2, 0, 1, 2, 5, 4, 3, 5, 6, 7, 5, 6, 5, 2, 3, 4, 6, 5, 4, 6, 5, 6, 2, 1, 2, 0, 1, 2, 0, 1, 0, 3, 4, 5, 3, 4, 3, 5, 4, 5, 2, 3, 2, 0, 1, 0, 2, 3, 4, 9, 8, 9, 7, 8, 7 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,4
LINKS
FORMULA
a(n) = A007949(A008336(3*n)).
MATHEMATICA
k = 2; nn = 360; p[_] := 0; r = 0; q = Prime[k];
{0}~Join~Reap[
Do[If[AnyTrue[#, p[#1] < #2 & @@ # &],
Map[p[#1] += #2 & @@ # &, #],
Map[p[#1] -= #2 & @@ # &, #] ] &@
Map[{PrimePi[#1], #2} & @@ # &, FactorInteger[n]];
If[Divisible[n, q], Sow[p[k] ] ], {n, nn}] ][[-1, 1]]
CROSSREFS
Sequence in context: A238416 A370852 A063574 * A144515 A178650 A028933
KEYWORD
nonn,easy
AUTHOR
Michael De Vlieger, Jun 02 2024
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 July 16 02:34 EDT 2024. Contains 374343 sequences. (Running on oeis4.)