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!)
A100689 a(n) = prime(n) * 4^prime(n) - 1. 0
31, 191, 5119, 114687, 46137343, 872415231, 292057776127, 5222680231935, 1618481116086271, 8358680908399640575, 142962266571249025023, 698910239464707491627007, 198263834416799184651812863, 3326963855579459488791396351, 930930909542605966724141416447 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = A060416(prime(n)) = A060416(A000040(n)). - Michel Marcus, Aug 27 2015
EXAMPLE
a(1) = 2*4^2 - 1 = 31.
MATHEMATICA
Do[Print[Prime[n]*4^(Prime[n]) - 1], {n, 1, 20}] (* Stefan Steinerberger, Feb 15 2006 *)
# 4^#-1&/@Prime[Range[20]] (* Harvey P. Dale, Dec 06 2012 *)
PROG
(Magma) [NthPrime(n)*4^NthPrime(n) - 1: n in [1..20]]; // Vincenzo Librandi, Aug 27 2015
(PARI) vector(20, n, p=prime(n); p*4^p - 1) \\ Michel Marcus, Aug 27 2015
CROSSREFS
Sequence in context: A229145 A261354 A023292 * A055816 A274501 A139998
KEYWORD
nonn
AUTHOR
Parthasarathy Nambi, Dec 07 2004
EXTENSIONS
More terms from Stefan Steinerberger, Feb 15 2006
a(14)-a(15) from Vincenzo Librandi, Aug 27 2015
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 April 18 08:27 EDT 2024. Contains 371769 sequences. (Running on oeis4.)