The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 56th year, we are closing in on 350,000 sequences, and we’ve crossed 9,700 citations (which often say “discovered thanks to the OEIS”).

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A305234 Number of successors of n having the same value of A001221 as n. 1

%I

%S 0,3,2,1,0,0,2,1,0,0,0,0,0,1,0,1,0,0,0,2,1,0,0,0,0,0,0,0,0,0,1,0,3,2,

%T 1,0,0,2,1,0,0,0,0,2,1,0,0,0,0,2,1,0,0,4,3,2,1,0,0,0,0,1,0,0,0,0,0,1,

%U 0,0,0,0,0,3,2,1,0,0,0,0,0,0,0,0,3,2,1

%N Number of successors of n having the same value of A001221 as n.

%e For n = 2: 3, 4 and 5 have the same number of distinct prime divisors as 2, but 6 does not, so a(2) = 3.

%o (PARI) a(n) = my(k=n+1, i=0); while(omega(k)==omega(n), i++; k++); i

%Y Cf. A001221, A077655, A305235.

%K nonn

%O 1,2

%A _Felix Fröhlich_, May 28 2018

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.

Last modified December 3 18:19 EST 2021. Contains 349467 sequences. (Running on oeis4.)