cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A076386 Numbers n such that sum of digits in base 8 is a divisor of sum of prime divisors (A008472).

This page as a plain text file.
%I A076386 #7 Mar 02 2015 16:08:49
%S A076386 2,3,5,7,8,12,15,16,26,49,64,65,70,86,96,102,123,128,130,140,150,156,
%T A076386 201,208,209,215,225,247,258,266,280,286,299,305,326,350,356,360,403,
%U A076386 424,456,471,474,490,495,512,513,515,519,520,530,532,545,551,555,558
%N A076386 Numbers n such that sum of digits in base 8 is a divisor of sum of prime divisors (A008472).
%p A076386 A076386 := proc(n) local i,j,t,t1, sod, sopd; t := NULL; for i from 2 to n do t1 := i; sod := 0; while t1 <> 0 do sod := sod + (t1 mod 8); t1 := floor(t1/8); od; sopd := 0; j := 1; while ithprime(j) <= i do if i mod ithprime(j) = 0 then sopd := sopd+ithprime(j); fi; j := j+1; od; if sopd mod sod = 0 then t := t,i; fi; od; t; end;
%Y A076386 Cf. A075657, A076380 - A076387.
%K A076386 nonn,base
%O A076386 1,1
%A A076386 _Floor van Lamoen_, Oct 08 2002