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!)
A076159 Numbers k such that k = sod_4 - sod_3 + sod_2 - sod_1, where sod_j is the sum of j-th powers of digits of k. 0
0, 214, 224, 2374, 4048 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
LINKS
FORMULA
Sod_4 - sod_3 + sod_2 - sod_1 = sum(d(d-1)(d^2+1)), d's are digits of n.
EXAMPLE
214 = 2*(2-1)*(2^2+1) + 1*(1-1)*(1^2+1) + 4*(4-1)*(4^2+1);
224 = 2*(2-1)*(2^2+1) + 2*(2-1)*(2^2+1) + 4*(4-1)*(4^2+1).
MATHEMATICA
okQ[n_] := Module[{idn=IntegerDigits[n]}, n==Total[idn^4]-Total[idn^3]+Total[idn^2]-Total[idn]]; Select[Range[0, 5000], okQ] (* Harvey P. Dale, Jan 14 2011 *)
CROSSREFS
Sequence in context: A242793 A335721 A242804 * A258961 A204486 A221807
KEYWORD
fini,nonn,full,base
AUTHOR
Zak Seidov, Nov 01 2002
STATUS
approved

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 24 22:17 EDT 2024. Contains 371964 sequences. (Running on oeis4.)