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!)
A003962 Completely multiplicative with a(prime(k)) = floor( (prime(k+1)+1)/2 ) for k-th prime prime(k). 2
1, 2, 3, 4, 4, 6, 6, 8, 9, 8, 7, 12, 9, 12, 12, 16, 10, 18, 12, 16, 18, 14, 15, 24, 16, 18, 27, 24, 16, 24, 19, 32, 21, 20, 24, 36, 21, 24, 27, 32, 22, 36, 24, 28, 36, 30, 27, 48, 36, 32, 30, 36, 30, 54, 28, 48, 36, 32, 31, 48, 34, 38, 54, 64, 36, 42, 36, 40, 45, 48, 37, 72, 40, 42, 48, 48 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Multiplicative with a(p^e) = ((A000040(A000720(p)+1)+1)/2)^e. - David W. Wilson, Aug 01 2001
MATHEMATICA
f[p_, e_] := Floor[(NextPrime[p] + 1)/2]^e; a[1] = 1; a[n_] := Times @@ f @@@ FactorInteger[n]; Array[a, 100] (* Amiram Eldar, Aug 31 2023 *)
PROG
(PARI) a(n) = my(f=factor(n)); for (i=1, #f~, f[i, 1] = (nextprime(f[i, 1]+1)+1)/2); factorback(f); \\ Michel Marcus, Jun 09 2014
CROSSREFS
Sequence in context: A253248 A341112 A329004 * A102443 A102441 A102440
KEYWORD
nonn,easy,mult
AUTHOR
EXTENSIONS
Corrected and extended by David W. Wilson
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 23 07:57 EDT 2024. Contains 371905 sequences. (Running on oeis4.)