[go: up one dir, main page]

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!)
A323415 Numbers equal to the carryless sum of their divisors. 1

%I #6 Jan 13 2019 19:30:46

%S 1,14,84,120,1180,1450,10180,12784,100180,101180,114500,139204,

%T 1100180,10000180,10010180,10111180,11000180,85937220,101011180,

%U 101101180,101110180,101111180,110000180,111001180,111100180,111101180,111110180

%N Numbers equal to the carryless sum of their divisors.

%C Equivalently, numbers k such that A323394(k) = k.

%H <a href="/index/Ca#CARRYLESS">Index entries for sequences related to carryless arithmetic</a>

%e For k = 14:

%e - the divisors of 14 are: 1, 2, 7, 14,

%e - the sum of the units are: 1 + 2 + 7 + 4 = 14 == 4 (mod 10),

%e - the sum of the tens are: 1,

%e - hence A323394(14) = 14 and 14 belongs to the sequence.

%o (PARI) isok(n, base=10) = my (v=[]); fordiv (n, d, my (w=Vecrev(digits(d, base))); v=vector(max(#v, #w), k, (if (k>#v, w[k], k>#w, v[k], (v[k]+w[k])%base)))); fromdigits(Vecrev(v), base)==n

%Y Cf. A323394.

%K nonn,base

%O 1,2

%A _Rémy Sigrist_, Jan 13 2019

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 August 29 15:03 EDT 2024. Contains 375517 sequences. (Running on oeis4.)