login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A099585 Remove all 3s from prime(n) - 1. 1
1, 2, 4, 2, 10, 4, 16, 2, 22, 28, 10, 4, 40, 14, 46, 52, 58, 20, 22, 70, 8, 26, 82, 88, 32, 100, 34, 106, 4, 112, 14, 130, 136, 46, 148, 50, 52, 2, 166, 172, 178, 20, 190, 64, 196, 22, 70, 74, 226, 76, 232, 238, 80, 250, 256, 262, 268, 10, 92, 280, 94, 292, 34, 310 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..64.

PROG

(PARI) a(n) = (prime(n)-1)/3^valuation(prime(n)-1, 3)

CROSSREFS

Equals A038502( A006093(n) ). prime(n)-1 = a(n) * 3^A099584(n).

Cf. A057023.

Sequence in context: A055935 A086930 A235798 * A236959 A097577 A097692

Adjacent sequences:  A099582 A099583 A099584 * A099586 A099587 A099588

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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 21 12:04 EDT 2019. Contains 321369 sequences. (Running on oeis4.)