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!)
A071215 Number of distinct prime factors of sum of 2 successive primes. 5
1, 1, 2, 2, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 2, 2, 3, 1, 3, 2, 2, 2, 2, 3, 3, 3, 4, 2, 3, 3, 3, 2, 3, 2, 3, 3, 2, 4, 3, 2, 3, 3, 2, 4, 3, 3, 3, 3, 3, 4, 2, 3, 3, 2, 3, 3, 3, 2, 3, 3, 2, 3, 3, 3, 4, 2, 2, 3, 3, 3, 2, 3, 3, 2, 3, 2, 3, 4, 3, 3, 4, 3, 2, 2, 3, 2, 3, 3, 4, 4, 3, 4, 3, 4, 3, 3, 3, 3, 3, 2, 3, 3, 2, 4, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,3
LINKS
FORMULA
a(n) = omega(prime(n) + prime(n + 1) = A001221(A001043(n)), where omega is the number of distinct prime factors function.
EXAMPLE
Prime(6) = 13 and prime(7) = 17. 13 + 17 = 30 = 2 * 3 * 5, which has three distinct prime factors, hence a(6) = 3.
MATHEMATICA
Table[PrimeNu[Prime[n] + Prime[n + 1]], {n, 105}] (* Jean-François Alcover, Oct 21 2013 *)
PROG
(PARI) A071215(n)=omega(prime(n)+prime(n+1)) \\ M. F. Hasler, Jul 23 2007
CROSSREFS
Sequence in context: A091322 A252229 A318490 * A164024 A145193 A292585
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, May 17 2002
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 24 11:49 EDT 2024. Contains 371936 sequences. (Running on oeis4.)