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!)
A166700 Totally multiplicative sequence with a(p) = a(p-1) + 3 for prime p. 1

%I #8 Apr 05 2023 15:08:14

%S 1,4,7,16,19,28,31,64,49,76,79,112,115,124,133,256,259,196,199,304,

%T 217,316,319,448,361,460,343,496,499,532,535,1024,553,1036,589,784,

%U 787,796,805,1216,1219,868,871,1264,931,1276,1279,1792,961,1444

%N Totally multiplicative sequence with a(p) = a(p-1) + 3 for prime p.

%H Robert Israel, <a href="/A166700/b166700.txt">Table of n, a(n) for n = 1..10000</a>

%F Multiplicative with a(p^e) = (a(p-1)+3)^e. If n = Product p(k)^e(k) then a(n) = Product (a(p(k)-1)+3)^e(k).

%p f:= proc(n) option remember; local F,t;

%p F:= ifactors(n)[2];

%p mul((procname(t[1]-1)+3)^t[2],t = F)

%p end proc:

%p map(f, [$1..50]); # _Robert Israel_, Apr 05 2023

%K nonn,mult,look

%O 1,2

%A _Jaroslav Krizek_, Oct 18 2009

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 19 08:45 EDT 2024. Contains 371782 sequences. (Running on oeis4.)