This site is supported by donations to The OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A099584 Exponent of 3 in factorization of prime(n) - 1. 4
 0, 0, 0, 1, 0, 1, 0, 2, 0, 0, 1, 2, 0, 1, 0, 0, 0, 1, 1, 0, 2, 1, 0, 0, 1, 0, 1, 0, 3, 0, 2, 0, 0, 1, 0, 1, 1, 4, 0, 0, 0, 2, 0, 1, 0, 2, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 3, 1, 0, 1, 0, 2, 0, 1, 0, 1, 1, 0, 1, 0, 0, 1, 1, 3, 0, 0, 2, 0, 1, 0, 1, 0, 3, 1, 0, 0, 1, 0, 1, 0, 0, 5, 0, 1, 0, 0, 0, 2, 3, 1, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,8 LINKS Robert Israel, Table of n, a(n) for n = 1..10000 MAPLE seq(padic:-ordp(ithprime(i)-1, 3), i=1..200); # Robert Israel, Mar 02 2018 MATHEMATICA Table[IntegerExponent[Prime[n] - 1, 3], {n, 110}] (* Bruno Berselli, Aug 05 2013 *) PROG (PARI) forprime(p=2, 700, print1(valuation(p-1, 3), ", ")); \\ Bruno Berselli, Aug 05 2013 (MAGMA) [Valuation(NthPrime(n)-1, 3): n in [1..110]]; // Bruno Berselli, Aug 05 2013 CROSSREFS Equals A007949( A006093(n) ), prime(n)-1 = 3^a(n) * A099585(n). Cf. A023506. Sequence in context: A143380 A143377 A034950 * A100563 A087773 A025867 Adjacent sequences:  A099581 A099582 A099583 * A099585 A099586 A099587 KEYWORD nonn AUTHOR Ralf Stephan, Oct 24 2004 STATUS approved

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

Last modified March 24 19:59 EDT 2019. Contains 321448 sequences. (Running on oeis4.)