[go: up one dir, main page]

login
Revision History for A194542 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers n such that lambda(n) is the sum of the first k divisors of n for some k.
(history; published version)
#11 by Charles R Greathouse IV at Sun Aug 03 14:01:33 EDT 2014
MATHEMATICA

Select[Range[2000], MemberQ[FoldList[Plus, 0, Divisors[#]], CarmichaelLambda[#]] &] (* _T. D. Noe, _, Aug 29 2011 *)

Discussion
Sun Aug 03
14:01
OEIS Server: https://oeis.org/edit/global/2267
#10 by Russ Cox at Fri Mar 30 18:35:59 EDT 2012
AUTHOR

_Michel Lagneau (mn.lagneau2(AT)orange.fr), _, Aug 28 2011

Discussion
Fri Mar 30
18:35
OEIS Server: https://oeis.org/edit/global/205
#9 by T. D. Noe at Mon Aug 29 13:44:15 EDT 2011
STATUS

editing

approved

#8 by T. D. Noe at Mon Aug 29 13:44:10 EDT 2011
NAME

LambdaNumbers n such that lambda(n) is the sum of the first k divisors of n for some k.

CROSSREFS
#7 by T. D. Noe at Mon Aug 29 13:39:18 EDT 2011
MATHEMATICA

a = {}; For[j = 1, j <= 2000, j++, s = 0; d = Divisors[j]; l = Length[d]; e = CarmichaelLambda[j]; For[i = 1, i <= l, i++, s = s + d[[i]]; If[s == e, a = Append[a, j]; Break]]]; a

Select[Range[2000], MemberQ[FoldList[Plus, 0, Divisors[#]], CarmichaelLambda[#]] &] (* T. D. Noe, Aug 29 2011 *)

#6 by T. D. Noe at Mon Aug 29 13:33:27 EDT 2011
COMMENTS

Lambda(n) is the Carmichael lambda function (A002322).

EXAMPLE

The divisors of 140 are 1, 2, 4, 5, 7, 10, 14, 20, 28, 35, 70, 140 and lambda(140) = 12 = 1 + 2 + 4 + 5; hence 140 belongs to the sequence.

CROSSREFS

Cf. A072278 , A002322.

STATUS

proposed

editing

#5 by Michel Lagneau at Sun Aug 28 11:08:25 EDT 2011
STATUS

editing

proposed

#4 by Michel Lagneau at Sun Aug 28 11:08:07 EDT 2011
EXAMPLE

The divisors of 140 are 1, 2, 4, 5, 7, 10, 14, 20, 28, 35, 70, 140 and lambda(140) = 12 = 1 + 2 + 4 + 5; hence 140 belongs to the sequence.

STATUS

proposed

editing

#3 by Michel Lagneau at Sun Aug 28 11:06:19 EDT 2011
STATUS

editing

proposed

#2 by Michel Lagneau at Sun Aug 28 11:05:58 EDT 2011
NAME

allocated Lambda(n) is the sum of the first k divisors of n for Michel Lagneausome k.

DATA

1, 2, 15, 18, 36, 42, 72, 78, 84, 126, 132, 140, 165, 168, 192, 200, 204, 234, 252, 260, 264, 270, 280, 288, 348, 400, 408, 440, 462, 504, 520, 546, 560, 741, 816, 825, 880, 882, 888, 912, 1040, 1044, 1248, 1464, 1470, 1632, 1638, 1692, 1710, 1749

OFFSET

1,2

COMMENTS

Lambda(n) is the Carmichael lambda function (A002322).

MAPLE

with(numtheory):for n from 1 to 2500 do:x:=divisors(n):n1:=nops(x):s:=0:for k from 1 to n1 while(s<=n) do:s:=s+x[k]:if s= lambda(n) then printf(`%d, `, n):else fi:od:od:

MATHEMATICA

a = {}; For[j = 1, j <= 2000, j++, s = 0; d = Divisors[j]; l = Length[d]; e = CarmichaelLambda[j]; For[i = 1, i <= l, i++, s = s + d[[i]]; If[s == e, a = Append[a, j]; Break]]]; a

CROSSREFS
KEYWORD

allocated

nonn

AUTHOR

Michel Lagneau (mn.lagneau2(AT)orange.fr), Aug 28 2011

STATUS

approved

editing