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!)
A317399 Positive integers that have exactly nine representations of the form 1 + p1 * (1 + p2* ... * (1 + p_j)...), where [p1, ..., p_j] is a (possibly empty) list of distinct primes. 2

%I #4 Jul 27 2018 11:31:15

%S 7021,7162,8053,8737,9178,9556,10126,10858,10861,10866,11113,11133,

%T 11363,11740,12076,12111,12666,13168,13210,13339,13573,13729,14037,

%U 14366,14411,14691,15250,15478,15569,15653,15726,15922,16066,16113,16116,16386,16459,16644

%N Positive integers that have exactly nine representations of the form 1 + p1 * (1 + p2* ... * (1 + p_j)...), where [p1, ..., p_j] is a (possibly empty) list of distinct primes.

%H Alois P. Heinz, <a href="/A317399/b317399.txt">Table of n, a(n) for n = 1..20000</a>

%F A317241(a(n)) = 9.

%p b:= proc(n, s) option remember; local p, r; if n=1 then 1 else r:=0;

%p for p in numtheory[factorset](n-1) minus s while r<10

%p do r:= r+b((n-1)/p, s union {p}) od; `if`(r<10, r, 10)

%p fi

%p end:

%p a:= proc(n) option remember; local k; for k from

%p `if`(n=1, 1, 1+a(n-1)) while b(k, {})<>9 do od; k

%p end:

%p seq(a(n), n=1..100);

%Y Column k=9 of A317390.

%Y Cf. A317241.

%K nonn

%O 1,1

%A _Alois P. Heinz_, Jul 27 2018

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 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)