The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A245908 The number of distinct prime factors of prime(n)^2-1. 1
1, 1, 2, 2, 3, 3, 2, 3, 3, 4, 3, 3, 4, 4, 3, 3, 4, 4, 4, 4, 3, 4, 4, 4, 3, 4, 4, 3, 4, 4, 3, 5, 4, 5, 4, 4, 4, 3, 4, 4, 4, 5, 4, 3, 4, 4, 5, 4, 4, 5, 4, 5, 4, 4, 3, 4, 4, 4, 4, 5, 4, 4, 5, 5, 4, 4, 5, 4, 4, 5, 4, 4, 4, 5, 5, 3, 5, 4, 4, 5 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = A082863(prime(n)).
a(n) = A008334(n) + A008335(n) - 1, if n>1.
MAPLE
A245908 := proc(n)
A082863(ithprime(n)) ;
end proc:
MATHEMATICA
Table[PrimeNu[Prime[n]^2 - 1], {n, 100}] (* Wesley Ivan Hurt, Aug 05 2014 *)
PROG
(PARI) vector(100, n, omega(prime(n)^2-1)) \\ Derek Orr, Aug 05 2014
(Magma) [#PrimeDivisors(NthPrime(n)^2 -1): n in [1..100]]; // Vincenzo Librandi, Apr 27 2019
CROSSREFS
Sequence in context: A334475 A110012 A233542 * A023514 A179751 A039645
KEYWORD
nonn
AUTHOR
R. J. Mathar, Aug 05 2014
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 May 13 03:04 EDT 2024. Contains 372497 sequences. (Running on oeis4.)